mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: updated regex for production host flag
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ export default defineComponent({
|
|||||||
isUpdateCardOpen: false,
|
isUpdateCardOpen: false,
|
||||||
isWelcomeCardOpen: false,
|
isWelcomeCardOpen: false,
|
||||||
|
|
||||||
isOnProductionHost: location.hostname == 'stacjownik-td2.web.app'
|
isOnProductionHost: /(stacjownik-td2)(\.web\.app|\.spythere\.eu)/.test(location.hostname)
|
||||||
}),
|
}),
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
Reference in New Issue
Block a user