mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 01:59:33 +00:00
Update public path
This commit is contained in:
@@ -19,7 +19,7 @@ import { BiomeNoiseVisualizer } from './visualization/BiomeNoiseVisualizer'
|
||||
const LOCAL_STORAGE_THEME = 'theme'
|
||||
const LOCAL_STORAGE_LANGUAGE = 'language'
|
||||
|
||||
const publicPath = process.env.NODE_ENV === 'production' ? '/dev/' : '/';
|
||||
const publicPath = '/';
|
||||
|
||||
const modelFromPath = (p: string) => p.replace(publicPath, '').replace(/\/$/, '')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user