mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 12:04:39 +00:00
Merge branch 'restructure'
This commit is contained in:
@@ -125,7 +125,7 @@ function connect_prod() {
|
||||
export default dev ? connect_dev : connect_prod;
|
||||
|
||||
function set_req_pathname(req, res, next) {
|
||||
req.pathname = req.url.replace(/\?.+/, '');
|
||||
req.pathname = req.url.replace(/\?.*/, '');
|
||||
next();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user