ducky/web
ducky/web/src/main.js
Update our config with still-silly values. Our config file still just has local-only values that don't actually mean anything, but let's keep them updated, just for giggles. We changed the port subscriptionsd listens on, so we updated to match that. We also needed to generate a new client, so its ID and secret are now in the config file as well. No doubt they'll be replaced soon, anyways.
1 import app from 'ampersand-app'
2 import Router from './router'
3 import Profiles from './models/profiles'
4 import Me from './models/me'
5 import normalize from 'normalize.css/normalize.css'
6 import styles from './styles/main.scss'
8 window.app = app.extend({
9 init () {
10 this.profiles = new Profiles()
11 this.me = new Me()
12 this.router = new Router()
13 this.router.history.start({ pushState: true })
14 }
15 })
17 app.init()