mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 01:01:23 +11:00
improve
This commit is contained in:
parent
5b4c22923b
commit
eea17da08a
1 changed files with 14 additions and 3 deletions
|
|
@ -1,12 +1,23 @@
|
|||
//https://nitro.unjs.io/config
|
||||
// https://nitro.unjs.io/config
|
||||
import { defineNitroConfig } from 'nitropack'
|
||||
|
||||
export default defineNitroConfig({
|
||||
runtimeConfig: {
|
||||
WEBHOOK_URL: process.env.WEBHOOK_URL
|
||||
WEBHOOK_URL: {
|
||||
public: false,
|
||||
// Add any necessary environment variable validation here
|
||||
// For example:
|
||||
// match: /.+/,
|
||||
}
|
||||
},
|
||||
srcDir: '.vitepress',
|
||||
routeRules: {
|
||||
'/': {
|
||||
cors: false
|
||||
}
|
||||
},
|
||||
// Add any additional route rules as needed
|
||||
// For example:
|
||||
// '/api/*': { cors: true },
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue