400 Errors in v1.8.3 #237

Closed
opened 2026-02-04 18:01:11 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @mzch on GitHub (Sep 30, 2022).

No page is shown in v1.8.3. Seems not to set BASE_URL variable.

** built index.html **

<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="[<%= BASE_URL %>/favicon.ico](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/favicon.ico)"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Planka is an open source project management software"/><link rel="apple-touch-icon" href="[logo192.png](https://pm.mzches.com/logo192.png)"/><link rel="manifest" href="[<%= BASE_URL %>/manifest.json](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/manifest.json)"/><title>Planka</title><script defer="defer" src="[<%= BASE_URL %>/static/js/main.e24ba4b4.js](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/static/js/main.e24ba4b4.js)"></script><link href="[<%= BASE_URL %>/static/css/main.f7b49453.css](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/static/css/main.f7b49453.css)" rel="stylesheet"></head><script>window.BASE_URL="<%= BASE_URL %>"</script><body id="app"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

** Screen Shot**
ScreenShot

Originally created by @mzch on GitHub (Sep 30, 2022). No page is shown in `v1.8.3`. Seems not to set `BASE_URL` variable. ** built index.html ** ``` <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="[<%= BASE_URL %>/favicon.ico](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/favicon.ico)"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Planka is an open source project management software"/><link rel="apple-touch-icon" href="[logo192.png](https://pm.mzches.com/logo192.png)"/><link rel="manifest" href="[<%= BASE_URL %>/manifest.json](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/manifest.json)"/><title>Planka</title><script defer="defer" src="[<%= BASE_URL %>/static/js/main.e24ba4b4.js](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/static/js/main.e24ba4b4.js)"></script><link href="[<%= BASE_URL %>/static/css/main.f7b49453.css](https://pm.mzches.com/%3C%=%20BASE_URL%20%%3E/static/css/main.f7b49453.css)" rel="stylesheet"></head><script>window.BASE_URL="<%= BASE_URL %>"</script><body id="app"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> ``` ** Screen Shot** <img width="1512" alt="ScreenShot" src="https://user-images.githubusercontent.com/621178/193252621-6371cdad-22af-4ed7-844a-d695a9be0b7f.png">
Author
Owner

@meltyshev commented on GitHub (Sep 30, 2022):

Thanks for reporting this! Checking...

@meltyshev commented on GitHub (Sep 30, 2022): Thanks for reporting this! Checking...
Author
Owner

@meltyshev commented on GitHub (Sep 30, 2022):

Are you using Planka without Docker? It looks like I forgot to mention to rename server/views/index.html to server/views/index.ejs, because without renaming Planka loads index.html from server/public without injecting BASE_URL.

@meltyshev commented on GitHub (Sep 30, 2022): Are you using Planka without Docker? It looks like I forgot to mention to rename `server/views/index.html` to `server/views/index.ejs`, because without renaming Planka loads `index.html` from `server/public` without injecting `BASE_URL`.
Author
Owner

@mzch commented on GitHub (Sep 30, 2022):

Yes, I don't use Docker but npm. BTW I moved client/build to server/public and server/public/index.html to server/views/index.ejs, then I got dashboard page. Thanks!

@mzch commented on GitHub (Sep 30, 2022): Yes, I don't use `Docker` but `npm`. BTW I moved `client/build` to `server/public` and `server/public/index.html` to `server/views/index.ejs`, then I got dashboard page. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#237