- index.html: build og:url/og:image/twitter:image from VITE_APP_ORIGIN - .env.production: marco.earth origin + OSM OAuth client ID - .env.development: VITE_APP_ORIGIN for local builds - scripts/sync-kosmos.sh: sync the kosmos deployment branch from master - README: document the two-branch / two-domain deployment
16 lines
560 B
Bash
16 lines
560 B
Bash
# This file is committed to git and should not contain any secrets.
|
|
#
|
|
# Vite recommends using .env.local or .env.[mode].local if you need to manage secrets
|
|
# SEE: https://vite.dev/guide/env-and-mode.html#env-files for more information.
|
|
|
|
|
|
# Default NODE_ENV with vite build --mode=test is production
|
|
NODE_ENV=development
|
|
|
|
# App origin used for canonical/OG/Twitter metadata in index.html
|
|
VITE_APP_ORIGIN=http://localhost:4200
|
|
|
|
# OpenStreetMap OAuth
|
|
VITE_OSM_CLIENT_ID=jIn8l5mT8FZOGYiIYXG1Yvj_2FZKB9TJ1edZwOJPsRU
|
|
VITE_OSM_OAUTH_URL=https://www.openstreetmap.org
|