mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
This commit is contained in:
parent
0ec019f959
commit
4cafc41b88
11 changed files with 192 additions and 77 deletions
|
|
@ -21,7 +21,11 @@ export default defineConfig({
|
|||
optional: true,
|
||||
default: 'http://localhost:4321'
|
||||
}),
|
||||
WEBHOOK_URL: envField.string({ context: 'server', access: 'secret' })
|
||||
WEBHOOK_URL: envField.string({ context: 'server', access: 'secret' }),
|
||||
DISCORD_OAUTH_ID: envField.string({ context: 'server', access: 'public' }),
|
||||
DISCORD_OAUTH_SECRET: envField.string({ context: 'server', access: 'secret' }),
|
||||
DISCORD_GUILD_ID: envField.string({ context: 'server', access: 'public' }),
|
||||
DISCORD_DONATOR_ID: envField.string({ context: 'server', access: 'public' })
|
||||
},
|
||||
validateSecrets: true
|
||||
},
|
||||
|
|
@ -53,6 +57,7 @@ export default defineConfig({
|
|||
'/game/list': { status: 307, destination: '/maintenance' },
|
||||
'/platform/list': { status: 307, destination: '/maintenance' },
|
||||
'/platform/[id]': { status: 307, destination: '/maintenance' },
|
||||
'/profile': { status: 307, destination: '/maintenance' },
|
||||
'/profile/[username]': { status: 307, destination: '/maintenance' },
|
||||
'/series/[slug]': { status: 307, destination: '/maintenance' },
|
||||
'/series/list': { status: 307, destination: '/maintenance' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue