summaryrefslogtreecommitdiffstats
path: root/src/data/env.js
diff options
context:
space:
mode:
author2022-01-08 17:27:42 +0530
committer2022-01-08 17:27:42 +0530
commit5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a (patch)
treebbca1d1fa46fb810d9974484572de5a9bfac54b8 /src/data/env.js
parentmake it ready to deploy (diff)
downloadsudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.gz
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.bz2
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.lz
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.xz
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.tar.zst
sudomsg-5aeaf2f352e7da0a0d55a7ad2cd7dbd3869b875a.zip
add service worker
Diffstat (limited to 'src/data/env.js')
-rw-r--r--src/data/env.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/data/env.js b/src/data/env.js
new file mode 100644
index 0000000..f1d2920
--- /dev/null
+++ b/src/data/env.js
@@ -0,0 +1,8 @@
+const { env } = require("process")
+
+module.exports = () => {
+ return {
+ isdevel: env.NODE_ENV == "develoment",
+ env: env
+ }
+} \ No newline at end of file