-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I got an error on first attempt to view localhost:8000:
An error occured during route handling or page rendering.
SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at parse (<anonymous>)
at packageData (ext:deno_fetch/22_body.js:369:14)
at consumeBody (ext:deno_fetch/22_body.js:246:12)
at eventLoopTick (ext:core/01_core.js:183:11)
at async callApi (file:///Users/karl/tmp/fresh-wordpress-themes/blog/utils/wp.ts:49:11)
at async getPages (file:///Users/karl/tmp/fresh-wordpress-themes/blog/utils/wp.ts:63:19)
at async Promise.all (index 0)
at async GET (file:///Users/karl/tmp/fresh-wordpress-themes/blog/routes/index.tsx:26:62)
at async https://deno.land/x/[email protected]/mod.ts:228:22
at async Server.#respond (https://deno.land/[email protected]/http/server.ts:298:18)
I should mentioned I needed to change docker-compose.yml to use port 8080:80 since my port 80 is used
Metadata
Metadata
Assignees
Labels
No labels