1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 04:30:31 +09:00

chore: add version

This commit is contained in:
uetchy 2020-03-06 00:07:06 +09:00
parent 6f87b7fc5b
commit df71825ab7

View File

@ -10,6 +10,8 @@
// To learn more about the benefits of this model and instructions on how to
// opt-in, read https://bit.ly/CRA-PWA
const VERSION = 1;
const isLocalhost = Boolean(
window.location.hostname === 'localhost' ||
// [::1] is the IPv6 localhost address.