[PR #12] [MERGED] Use custom url for self-hosted #1203

Closed
opened 2026-05-07 01:00:59 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/12
Author: @nathanaelhoun
Created: 11/22/2021
Status: Merged
Merged: 11/22/2021
Merged by: @binwiederhier

Base: mainHead: custom-url-selfhosted


📝 Commits (1)

  • fde5fda Use custom url in case of self-hosted

📊 Changes

2 files changed (+30 additions, -18 deletions)

View changed files

📝 server/index.gohtml (+15 -15)
📝 server/static/js/app.js (+15 -3)

📄 Description

I suggest to replace the ntfy.sh url suggested in the code blocks to match the real url, to allow an easier copy-pasting if we selfhost.

This replacement has been tested with a custom port (first screenshot) and a classic port (80/443 for http/https) (second screenshot).

On main page On event page
image image

🔄 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/binwiederhier/ntfy/pull/12 **Author:** [@nathanaelhoun](https://github.com/nathanaelhoun) **Created:** 11/22/2021 **Status:** ✅ Merged **Merged:** 11/22/2021 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `custom-url-selfhosted` --- ### 📝 Commits (1) - [`fde5fda`](https://github.com/binwiederhier/ntfy/commit/fde5fda635c92a55bd0d4213750536640fc83fa6) Use custom url in case of self-hosted ### 📊 Changes **2 files changed** (+30 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `server/index.gohtml` (+15 -15) 📝 `server/static/js/app.js` (+15 -3) </details> ### 📄 Description I suggest to replace the `ntfy.sh` url suggested in the code blocks to match the real url, to allow an easier copy-pasting if we selfhost. This replacement has been tested with a custom port (first screenshot) and a classic port (80/443 for http/https) (second screenshot). | On main page | On event page | | :- | -: | | ![image](https://user-images.githubusercontent.com/45119518/142870139-b2724f37-4f55-4d3d-b71a-a67b8f7b5105.png) | ![image](https://user-images.githubusercontent.com/45119518/142870185-700c865c-6515-4640-b46d-23c95a197732.png) | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:00:59 +02: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/ntfy#1203
No description provided.