mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-03 13:12:38 +02:00
Added Nginx config section to README (issue #1).
Fixed regression with hash fallback.
This commit is contained in:
@@ -102,6 +102,9 @@ async function handlePageRequest(req, res, next) {
|
||||
try {
|
||||
let path = req.url;
|
||||
if (path === '/favicon.ico') {
|
||||
// while the HTML template contains a link tag that suppress the
|
||||
// loading of favicon.ico, the browser could ask for it still if
|
||||
// the page fails to load
|
||||
let err = new Error('File not found');
|
||||
err.status = 404;
|
||||
throw err;
|
||||
|
Reference in New Issue
Block a user