[PR #100] [MERGED] change: enable CORSon /api/:type #22673

Closed
opened 2026-06-15 02:55:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/100
Author: @jojobii-arks
Created: 3/28/2023
Status: Merged
Merged: 3/29/2023
Merged by: @wukko

Base: currentHead: jojobii-arks/98-fix-cors


📝 Commits (1)

  • 87e6845 change: enable CORS preflight on /api/:type

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 src/cobalt.js (+3 -2)

📄 Description

Resolves

#98

Summary

  • Add cors() middleware to /api/:type route allowing CORS requests.
  • Remove other instances of middleware.

🔄 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/imputnet/cobalt/pull/100 **Author:** [@jojobii-arks](https://github.com/jojobii-arks) **Created:** 3/28/2023 **Status:** ✅ Merged **Merged:** 3/29/2023 **Merged by:** [@wukko](https://github.com/wukko) **Base:** `current` ← **Head:** `jojobii-arks/98-fix-cors` --- ### 📝 Commits (1) - [`87e6845`](https://github.com/imputnet/cobalt/commit/87e684543ece25cde9827ea488ec21508f4e8fdc) change: enable CORS preflight on /api/:type ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/cobalt.js` (+3 -2) </details> ### 📄 Description ## Resolves #98 ## Summary - Add `cors()` middleware to `/api/:type` route allowing CORS requests. - Remove other instances of middleware. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-15 02:55:45 -05:00
Sign in to join this conversation.