FMHYedit/api/nitro.config.ts

13 lines
213 B
TypeScript
Raw Normal View History

2023-11-12 16:42:57 +00:00
//https://nitro.unjs.io/config
export default defineNitroConfig({
runtimeConfig: {
2024-01-25 16:32:45 +00:00
WEBHOOK_URL: process.env.WEBHOOK_URL
2023-11-12 16:42:57 +00:00
},
2024-01-25 16:32:45 +00:00
srcDir: '.vitepress',
2023-11-12 16:42:57 +00:00
routeRules: {
2024-01-25 16:32:45 +00:00
'/': {
cors: false
}
}
})