mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Import publicRuntimeConfig from helper
This commit is contained in:
parent
f6a1dacd54
commit
8ec2e77c06
2 changed files with 14 additions and 6 deletions
|
|
@ -2,6 +2,7 @@ import { promises as fs } from 'fs'
|
|||
|
||||
import pkg from './package.json'
|
||||
import { getSiteUrl } from '~/helpers/get-site-url.js'
|
||||
import { publicRuntimeConfig } from '~/helpers/public-runtime-config.mjs'
|
||||
|
||||
|
||||
const siteUrl = getSiteUrl()
|
||||
|
|
@ -10,11 +11,7 @@ const siteUrl = getSiteUrl()
|
|||
export default {
|
||||
target: 'static',
|
||||
|
||||
publicRuntimeConfig: {
|
||||
allUpdateSubscribe: process.env.ALL_UPDATE_SUBSCRIBE,
|
||||
testResultStore: process.env.TEST_RESULT_STORE,
|
||||
siteUrl: process.env.URL
|
||||
},
|
||||
publicRuntimeConfig,
|
||||
|
||||
/*
|
||||
** Hooks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue