fixing env
This commit is contained in:
parent
db8025ec50
commit
94c1de34bc
@ -1,6 +1,5 @@
|
||||
FROM nginx
|
||||
COPY bahnui-front/dist/. /var/www/html/
|
||||
COPY default.conf /etc/nginx/conf.d/default.conf
|
||||
ARG VUE_APP_BASE_URL
|
||||
ENV VUE_APP_BASE_URL $VUE_APP_BASE_URL
|
||||
ENV VUE_APP_BASE_URL http://server.bahn.sperwing.site:80
|
||||
EXPOSE 80
|
||||
@ -71,6 +71,7 @@
|
||||
},
|
||||
methods: {
|
||||
searchStationFrom() {
|
||||
console.log(process.env.VUE_APP_BASE_URL)
|
||||
client.get("/searchStation", {params: {text: this.from.name}}).then(res => this.from = {name: res.data.name, id: res.data.id});
|
||||
},
|
||||
searchStationTo() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user