diff --git a/web/src/config.js b/web/src/config.js index 39ebe35..873d088 100644 --- a/web/src/config.js +++ b/web/src/config.js @@ -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 * built for production serving. diff --git a/web/src/store/index.js b/web/src/store/index.js index 23b359a..401af00 100644 --- a/web/src/store/index.js +++ b/web/src/store/index.js @@ -1,11 +1,12 @@ import Vue from 'vue'; import Vuex from 'vuex'; +import * as conf from "../config"; Vue.use(Vuex); export default new Vuex.Store({ state: { - survey_link: ``, + survey_link: conf.survey_url, team_1: { name: `Sun`,