feat: merge env
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
NUXT_PUBLIC_BASE_API=https://api.vpress.vn/api-v1
|
||||
NUXT_PUBLIC_BASE_API=http://api-portal.vpress.vn/api-v1
|
||||
NUXT_PUBLIC_SITE_DEFAULT=1
|
||||
PUBLIC_BASE_SERVER_RESOURCE=https://acp-api.vpress.vn
|
||||
PUBLIC_PAGING_PAGE=1
|
||||
|
||||
+6
-3
@@ -1,7 +1,10 @@
|
||||
NUXT_PUBLIC_BASE_API=https://api.vpress.vn/api-v1
|
||||
NUXT_PUBLIC_BASE_API=http://api-portal.vpress.vn/api-v1
|
||||
NUXT_PUBLIC_SITE_DEFAULT=1
|
||||
PUBLIC_BASE_SERVER_RESOURCE=https://api.vpress.vn
|
||||
PUBLIC_BASE_SERVER_RESOURCE=http://api-portal.vpress.vn
|
||||
PUBLIC_PAGING_PAGE=1
|
||||
PUBLIC_PAGING_LIMIT=10
|
||||
AUTH_SECRET=vpress
|
||||
AUTH_ORIGIN=https://vpress.vn
|
||||
GOOGLE_CLIENT_ID=410090780886-odisqirb9ghresjoop8rg3ad0fn8jl0s.apps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=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
|
||||
FACEBOOK_CLIENT_ID=280456401372340
|
||||
FACEBOOK_CLIENT_SECRET=86d6272c3a03d25442ecd7ccbf0c204c
|
||||
+1
-1
@@ -26,7 +26,7 @@ export default defineNuxtConfig({
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
apiUrl: process.env.NUXT_PUBLIC_BASE_API || "http://api-portal.vpress.vn/api-v1",
|
||||
apiUrl: "http://api-portal.vpress.vn/api-v1",
|
||||
site: process.env.NUXT_PUBLIC_SITE_DEFAULT || "1",
|
||||
},
|
||||
authSecret: process.env.AUTH_SECRET||"vpress"
|
||||
|
||||
@@ -68,16 +68,11 @@ export default defineConfig({
|
||||
extractors: [],
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetMini(),
|
||||
presetWebFonts({
|
||||
provider: "google",
|
||||
fonts: {
|
||||
nunito: "Nunito",
|
||||
playfair: ['Playfair Display', 'sans-serif'],
|
||||
'playfair-display': ['Playfair Display', 'serif'],
|
||||
'bai-jamjuree': ['Bai Jamjuree', 'Arial', 'sans-serif'],
|
||||
sans: ['Raleway', 'Arial', "Helvetica Neue", 'Helvetica', 'sans-serif'],
|
||||
arial: ['Arial', 'sans-serif'],
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user