Commit 3142243c authored by Eliot Berriot's avatar Eliot Berriot

Merge branch 'release/0.3.1'

parents 965ee1dc 4b27bbf0
Pipeline #202 passed with stages
in 41 seconds
# scp-browser # scp-browser
A client-side SCP-wiki.net browser: http://eliotberriot.pages.eliotberriot.com/scp-browser/ A client-side SCP-wiki.net browser: https://scp.eliotberriot.com/
# Database # Database
......
...@@ -11,7 +11,7 @@ module.exports = { ...@@ -11,7 +11,7 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'), index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'), assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/scp-browser/', assetsPublicPath: '/',
productionSourceMap: true, productionSourceMap: true,
// Gzip off by default as many popular static hosts such as // Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you. // Surge or Netlify already gzip all static assets for you.
......
...@@ -7,6 +7,7 @@ import Detail from '@/components/Detail' ...@@ -7,6 +7,7 @@ import Detail from '@/components/Detail'
Vue.use(Router) Vue.use(Router)
export default new Router({ export default new Router({
mode: 'history',
routes: [ routes: [
{ {
path: '/', path: '/',
......
...@@ -153,7 +153,7 @@ var scpData = { ...@@ -153,7 +153,7 @@ var scpData = {
if (this.alreadyLoaded()) { if (this.alreadyLoaded()) {
return callback() return callback()
} }
let url = 'http://eliotberriot.pages.eliotberriot.com/scp-browser/data.json' let url = 'https://scp.eliotberriot.com/data.json'
console.log('fetching data (this may take some time)...') console.log('fetching data (this may take some time)...')
this.loading = true this.loading = true
try { try {
......
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