Verified Commit ee36b883 authored by Aral Balkan's avatar Aral Balkan
Browse files

Minor refactor of Vuex store namings to enhance intent

parent 8052c6da
......@@ -9,6 +9,7 @@ import axios from 'axios'
export const state = () => {}
// Configure the Feathers application differently based on whether we’re running
// on the server or the client. On the client, configure it with Primus for
// web socket connections to the domain the app is running on. On the server,
......@@ -23,12 +24,12 @@ let _app = feathers().configure(auth())
if (process.browser) {
// Configure for client-side use.
const socket = new Primus(location.href)
const clientSideWebSocketViaPrimus = new Primus(location.href)
} else {
// Configure for server-side use.
const restViaAxios = rest('http://localhost:3030').axios(axios)
const serverSideRestViaAxios = rest('http://localhost:3030').axios(axios)
export const app = _app
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