Skip to content

Commit 30f308e

Browse files
committed
Temporary fix for PageNotFound.
1 parent 406d390 commit 30f308e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/live-elements-web-server/lib/web-server.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ export default class WebServer extends EventEmitter{
474474
data = functionResult instanceof Promise ? await functionResult : functionResult
475475
} catch ( e ) {
476476
if ( e instanceof PageNotFoundError ){
477-
next()
477+
return res.redirect('/') //TEMP
478+
// next()
478479
return
479480
} else {
480481
log.e(e)

0 commit comments

Comments
 (0)