Commit 3475d56b authored by void's avatar void
Browse files

defaultear a localhost:3000 para API_HOST

parent f5807cb5
......@@ -5,7 +5,7 @@ import { registerWebpush } from './sjwManager'
Vue.use(Vuex)
const API_URL = process.env.API_URL
const API_URL = process.env.API_URL || 'http://localhost:3000'
const generateToken = (
email = localStorage.email,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment