[PR #6] [MERGED] Changed all URLs from absolute to relative #14

Closed
opened 2026-03-03 13:50:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/isuryatk/pm2-webui/pull/6
Author: @bgfxc4
Created: 12/23/2021
Status: Merged
Merged: 1/8/2022
Merged by: @isuryatk

Base: mainHead: main


📝 Commits (1)

  • c51f388 changed all urls from absolute to relative

📊 Changes

7 files changed (+28 additions, -28 deletions)

View changed files

📝 src/middlewares/auth.js (+5 -5)
📝 src/public/assets/js/main.js (+2 -2)
📝 src/routes/index.js (+6 -6)
📝 src/views/apps/app.html (+3 -3)
📝 src/views/apps/dashboard.html (+1 -1)
📝 src/views/auth/unlock.html (+4 -4)
📝 src/views/base.html (+7 -7)

📄 Description

Made it possible to use the webinterface through a reverse proxy, for example with nginx or apache.
This was not possible because if you were trying to have the webinterface at https://[domain].com/pm2/ it still would rerout you to https://[domain].com/login instead of https://[domain].com/pm2/login.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/isuryatk/pm2-webui/pull/6 **Author:** [@bgfxc4](https://github.com/bgfxc4) **Created:** 12/23/2021 **Status:** ✅ Merged **Merged:** 1/8/2022 **Merged by:** [@isuryatk](https://github.com/isuryatk) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`c51f388`](https://github.com/isuryatk/pm2-webui/commit/c51f38870d4c24b9fe7de809b2dffaf92537f63a) changed all urls from absolute to relative ### 📊 Changes **7 files changed** (+28 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `src/middlewares/auth.js` (+5 -5) 📝 `src/public/assets/js/main.js` (+2 -2) 📝 `src/routes/index.js` (+6 -6) 📝 `src/views/apps/app.html` (+3 -3) 📝 `src/views/apps/dashboard.html` (+1 -1) 📝 `src/views/auth/unlock.html` (+4 -4) 📝 `src/views/base.html` (+7 -7) </details> ### 📄 Description Made it possible to use the webinterface through a reverse proxy, for example with nginx or apache. This was not possible because if you were trying to have the webinterface at https://[domain].com/pm2/ it still would rerout you to https://[domain].com/login instead of https://[domain].com/pm2/login. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 13:50:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pm2-webui#14
No description provided.