Fresh Layouts are not working with Danet
btd1337 opened this issue · 0 comments
btd1337 commented
Describe the bug
When adding a Fresh project to Deno, the Fresh Layouts don't work, both when using Fresh from the root and from a given path.
Fresh Project
Fresh into Danet
Expected
My layout for root routes including a header
, footer
, and content inside the main
tag.
Console Logs
$ deno task launch-server
The manifest has been generated for 8 routes and 0 islands.
Sun, 24 Sep 2023 16:41:02 GMT [Injector] Bootstraping DatabaseModule
Sun, 24 Sep 2023 16:41:02 GMT [Injector] Bootstraping TodoModule
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering TodoController todo
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [GET] /todo
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [GET] /todo/:id
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [POST] /todo
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [PUT] /todo/:id
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [DELETE] /todo/:id
Sun, 24 Sep 2023 16:41:02 GMT [Injector] Bootstraping AppModule
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering AppController /
Sun, 24 Sep 2023 16:41:02 GMT [Router] Registering [GET] /
Sun, 24 Sep 2023 16:41:02 GMT [DanetApplication] Listening on 3000
[uncaught application error]: Http - connection closed before message completed
at Object.respondWith (ext:deno_http/01_http.js:334:25)
at eventLoopTick (ext:core/01_core.js:197:13)
[uncaught application error]: Http - connection closed before message completed
request: {
url: "http://localhost:3000/_frsh/alive",
method: "GET",
hasBody: false
}
response: { status: 200, type: undefined, hasBody: true, writable: false }
at Object.respondWith (ext:deno_http/01_http.js:334:25)
at eventLoopTick (ext:core/01_core.js:197:13)