mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28: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,
|
||||
isWelcomeCardOpen: false,
|
||||
|
||||
isOnProductionHost: location.hostname == 'stacjownik-td2.web.app'
|
||||
isOnProductionHost: /(stacjownik-td2)(\.web\.app|\.spythere\.eu)/.test(location.hostname)
|
||||
}),
|
||||
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user