nandi
nandi
Explore posts from servers
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
disabled csrf in svelte.config.js:
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
csrf: {
checkOrigin: false
}
}
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter(),
csrf: {
checkOrigin: false
}
}
I'm not using it anyway but probably not the best. there are env variables you can set at https://kit.svelte.dev/docs/adapter-node#environment-variables but I didn't go that route
16 replies
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
yeah it was on my end, working now
16 replies
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
K thx
16 replies
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
Visit the url I included add try to login with any username password doesn't matter
16 replies
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
Sveltekit. The error is coming from railway proxy I think though. I don't see the error in my logs
16 replies
RRailway
Created by nandi on 2/27/2024 in #✋|help
Cross-site POST form submissions are forbidden [bug] same site
ae09b251-66fd-498b-8797-816b32b39aea
16 replies
RRailway
Created by nandi on 8/23/2023 in #✋|help
volume permissions
I created another volume and it seems to be working now 🤞
6 replies
RRailway
Created by nandi on 8/23/2023 in #✋|help
volume permissions
99148539-256f-4a0e-9c5e-0106ef7b47d1
6 replies