pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
391 B
14 lines
391 B
const env = process.env.VUE_APP_ENV;
|
|
|
|
let envApiUrl = '';
|
|
|
|
if (env === 'production') {
|
|
envApiUrl = `https://${process.env.VUE_APP_DOMAIN_PROD}`;
|
|
} else if (env === 'staging') {
|
|
envApiUrl = `https://${process.env.VUE_APP_DOMAIN_STAG}`;
|
|
} else {
|
|
envApiUrl = `http://${process.env.VUE_APP_DOMAIN_DEV}`;
|
|
}
|
|
|
|
export const apiUrl = envApiUrl;
|
|
export const appName = process.env.VUE_APP_NAME;
|
|
|