Move survey URL to the JS config
This commit is contained in:
parent
3af9e6cb90
commit
59cbad36d0
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
||||||
|
/**
|
||||||
|
* The survey that will be offered to players to fill out after finishing a
|
||||||
|
* game so that they can give feedback.
|
||||||
|
*/
|
||||||
|
export const survey_url = ``;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The URI that socket IO tries to connect to for websocket communication when
|
* The URI that socket IO tries to connect to for websocket communication when
|
||||||
* built for production serving.
|
* built for production serving.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import Vuex from 'vuex';
|
import Vuex from 'vuex';
|
||||||
|
import * as conf from "../config";
|
||||||
|
|
||||||
Vue.use(Vuex);
|
Vue.use(Vuex);
|
||||||
|
|
||||||
export default new Vuex.Store({
|
export default new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
survey_link: ``,
|
survey_link: conf.survey_url,
|
||||||
|
|
||||||
team_1: {
|
team_1: {
|
||||||
name: `Sun`,
|
name: `Sun`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue