feat: get endpoint url for netlify preview (#88)

This commit is contained in:
三咲智子 Kevin Deng 2022-11-26 00:57:29 +08:00 committed by GitHub
parent 055bcf0e96
commit 20ed3ce738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 22 deletions

View file

@ -38,6 +38,7 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
deployUrl: process.env.DEPLOY_URL,
cloudflare: {
accountId: '',
namespaceId: '',