[PR #641] [MERGED] Add cors config for seperate backend urls #648

Closed
opened 2026-03-03 16:39:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NdoleStudio/httpsms/pull/641
Author: @opheus2
Created: 4/17/2025
Status: Merged
Merged: 4/18/2025
Merged by: @AchoArnold

Base: mainHead: main


📝 Commits (6)

  • 472fb52 added cloud docker-compose
  • 2e86831 Merge branch 'main' of github.com:Apex-Network-NG/httpsms
  • 4067ad5 added proxy pass to bypass cors
  • 48f27df add cors config
  • d86e4fb remove proxy pass to bypass cors
  • 9d7f8e5 cleanup nginx fix removal

📊 Changes

1 file changed (+18 additions, -1 deletions)

View changed files

📝 api/pkg/di/container.go (+18 -1)

📄 Description

this PR adds a config to prevent cors issue when domains are different or hosted differently.


🔄 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/NdoleStudio/httpsms/pull/641 **Author:** [@opheus2](https://github.com/opheus2) **Created:** 4/17/2025 **Status:** ✅ Merged **Merged:** 4/18/2025 **Merged by:** [@AchoArnold](https://github.com/AchoArnold) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (6) - [`472fb52`](https://github.com/NdoleStudio/httpsms/commit/472fb52ece9e188537f3222c374d0ba999a2f7ca) added cloud docker-compose - [`2e86831`](https://github.com/NdoleStudio/httpsms/commit/2e86831d7c2ee2c361e4b137ecb81044ff811f29) Merge branch 'main' of github.com:Apex-Network-NG/httpsms - [`4067ad5`](https://github.com/NdoleStudio/httpsms/commit/4067ad54548a43d3a4f27100041977620fdcff62) added proxy pass to bypass cors - [`48f27df`](https://github.com/NdoleStudio/httpsms/commit/48f27df93e0c5590bd68178276ea7bc5c6ad5831) add cors config - [`d86e4fb`](https://github.com/NdoleStudio/httpsms/commit/d86e4fbc8c76b4edc21fdb18ef4c415050759b06) remove proxy pass to bypass cors - [`9d7f8e5`](https://github.com/NdoleStudio/httpsms/commit/9d7f8e59fcfbbd18c05dbcceea706fce7e6aa530) cleanup nginx fix removal ### 📊 Changes **1 file changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/pkg/di/container.go` (+18 -1) </details> ### 📄 Description this PR adds a config to prevent cors issue when domains are different or hosted differently. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:39:26 +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/httpsms#648
No description provided.