Browse Source

fixed baseurl in nuxt config

master
Spencer Flagg 3 years ago
parent
commit
fcadf2f9c0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nuxt.config.js

+ 2
- 2
nuxt.config.js View File

@ -1,9 +1,9 @@
const baseURL = function() {
switch (process.env.FLYLOCAL_ENV) {
case "prod":
return process.env.PROD_ENV;
return process.env.PROD_URL;
case "dev":
return process.env.DEV_ENV;
return process.env.DEV_URL;
case "local":
return "http://" + process.env.LOCAL_IP + ":" + process.env.LOCAL_PORT;
default:

Loading…
Cancel
Save