Compare commits

..

2 Commits

Author SHA1 Message Date
f4a2e8cbf9 fix: env var and conf file
All checks were successful
Build Docker Image Front / run (pull_request) Successful in 1m34s
Build Docker Image Back / run (pull_request) Successful in 23s
JsDocs / coverage (pull_request) Successful in 22s
Test and coverage / coverage (pull_request) Successful in 1m26s
2024-05-21 16:15:46 +02:00
0fec2417a9 fix astro output type 2024-05-21 16:15:12 +02:00
3 changed files with 7 additions and 7 deletions

View File

@ -27,6 +27,7 @@ const whenExternalScripts = (items = []) =>
export default defineConfig({
output: 'server',
compressHTML: true,
build: {
assets: 'assets',
@ -37,7 +38,6 @@ export default defineConfig({
port: 3000
},
trailingSlash: 'never',
output: 'server',
adapter: node({
mode: 'standalone'
}),

View File

@ -1,6 +1,6 @@
site:
name: AstroWind
site: 'https://astrowind.vercel.app'
name: EpicRoadTrip
site: 'https://front-tweb.cb85.fr'
base: '/'
trailingSlash: false

6
front/src/env.d.ts vendored
View File

@ -6,10 +6,10 @@
import PocketBase from 'pocketbase'
export interface ImportMetaEnv {
NODE_ENV: string
APP_URL: string
NODE_ENV: string
APP_URL: string
POCKETBASE_URL: string
POCKETBASE_URL: string
GOOGLE_API_KEY: string
}