mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-07-28 23:49:50 +00:00
Fixed linting 😃
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -9,7 +9,7 @@ import '../styl/styl.styl'
|
||||
class MyApp extends App {
|
||||
|
||||
public componentDidMount() {
|
||||
if (window.location.origin !== config.domain && window.location.hostname !== "localhost") {
|
||||
if (window.location.origin !== config.domain && window.location.hostname !== 'localhost') {
|
||||
window.location.replace(`${config.domain}${window.location.pathname}`)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user