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({ export default defineConfig({
output: 'server',
compressHTML: true, compressHTML: true,
build: { build: {
assets: 'assets', assets: 'assets',
@ -37,7 +38,6 @@ export default defineConfig({
port: 3000 port: 3000
}, },
trailingSlash: 'never', trailingSlash: 'never',
output: 'server',
adapter: node({ adapter: node({
mode: 'standalone' mode: 'standalone'
}), }),

View File

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

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

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