The problem was because index.html was in the public folder and was being served on the first page load instead of the Pug view being rendered. The solution was to move it into the views folder so that the only way to get to it was through the template engine.
|6 years ago|
|public||6 years ago|
|src||6 years ago|
|views||6 years ago|
|.babelrc||6 years ago|
|.eslintrc||6 years ago|
|.gitignore||6 years ago|
|LICENSE||6 years ago|
|README.md||6 years ago|
|package.json||6 years ago|
|server.js||6 years ago|
|serverdev.js||6 years ago|
|webpack.config.js||6 years ago|
|webpack.production.config.js||6 years ago|
Send browser notifications from your terminal. No installation. No registration.
Notica is a Bash function / alias that sends a notification to a tab in your browser when it's ran:
$ long-running-command; notica Finished!
This will wait until the first command completes before running Notica. That way you can go do other things while your long task runs. Then you will recieve a notification on any devices that have the Notica website open.
Please follow the instructions on the Notica home page since they are generated specific to you:
Notica is free and open-source software released under the MIT License.
Hosting Notica on your own server is extremely easy.
Clone this repository, change all notica.us URLs to your own domain, and then run
npm install && npm start.
You can connect to it directly or through a reverse proxy.