Pushnotifications now
This commit is contained in:
5
config/env/push.config.example.js
vendored
Normal file
5
config/env/push.config.example.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
publicKey: "",
|
||||
privateKey: "",
|
||||
mailto: ""
|
||||
};
|
||||
@@ -41,7 +41,8 @@ const ServiceWorkerConfig = {
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
__DATE__: new Date().getTime()
|
||||
__DATE__: new Date().getTime(),
|
||||
__PUBLICKEY__: JSON.stringify(require("./env/push.config").publicKey)
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user