[PR #1823] [MERGED] feat: add CORS configuration for chrome-extension origin #1906

Closed
opened 2026-03-02 11:59:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1823
Author: @qixing-jk
Created: 8/6/2025
Status: Merged
Merged: 8/9/2025
Merged by: @MohamedBassem

Base: mainHead: extension/fix/vite-dev


📝 Commits (1)

  • c1840b6 feat: add CORS configuration for chrome-extension origin

📊 Changes

3 files changed (+72 additions, -9 deletions)

View changed files

📝 apps/browser-extension/package.json (+1 -1)
📝 apps/browser-extension/vite.config.ts (+5 -0)
📝 pnpm-lock.yaml (+66 -8)

📄 Description

Update @crxjs/vite-plugin to v2.0.1 and add server CORS configuration to allow requests from chrome-extension origins in the browser extension's vite.config.ts file. github.com/crxjs/chrome-extension-tools@5591241820/playgrounds/react/vite.config.ts (L20)

Existed Issue

Clip_20250806_154303 Clip_20250806_154608

Similar issue

#670


🔄 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/karakeep-app/karakeep/pull/1823 **Author:** [@qixing-jk](https://github.com/qixing-jk) **Created:** 8/6/2025 **Status:** ✅ Merged **Merged:** 8/9/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `extension/fix/vite-dev` --- ### 📝 Commits (1) - [`c1840b6`](https://github.com/karakeep-app/karakeep/commit/c1840b66fc54f0ab1fb0b31abb44140ea240b31c) feat: add CORS configuration for chrome-extension origin ### 📊 Changes **3 files changed** (+72 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `apps/browser-extension/package.json` (+1 -1) 📝 `apps/browser-extension/vite.config.ts` (+5 -0) 📝 `pnpm-lock.yaml` (+66 -8) </details> ### 📄 Description Update @crxjs/vite-plugin to v2.0.1 and add server CORS configuration to allow requests from chrome-extension origins in the browser extension's vite.config.ts file. https://github.com/crxjs/chrome-extension-tools/blob/55912418204c6dbdbf7a4a59d1384a290208fb4d/playgrounds/react/vite.config.ts#L20 ## Existed Issue <img width="1234" height="868" alt="Clip_20250806_154303" src="https://github.com/user-attachments/assets/ecdaf95b-60a6-4a3a-a27a-6537adebad4a" /> <img width="601" height="781" alt="Clip_20250806_154608" src="https://github.com/user-attachments/assets/9ecb3bf5-8d9d-409d-8262-4fb1a6a57ab6" /> ## Similar issue #670 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:59:42 +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/karakeep#1906
No description provided.