Skip to content

Commit

Permalink
Merge pull request #76 from asmaNode/#75
Browse files Browse the repository at this point in the history
use html5 history to remove hash on urls for mailto SPA
  • Loading branch information
alagane authored Jun 3, 2021
2 parents 697bae2 + ce5873e commit b33a82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ server {

location /mailto {
alias /usr/share/nginx/html/;
try_files $uri /index.html;
}

include /etc/nginx/extra-conf.d/*.conf;
Expand Down
1 change: 1 addition & 0 deletions webpack.commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ module.exports = {
compress: true,
host: '0.0.0.0',
disableHostCheck: true,
historyApiFallback: true,
port: 9900,
proxy: [{
context: [
Expand Down

0 comments on commit b33a82e

Please sign in to comment.