about cors #11887

Closed
opened 2025-11-02 09:50:59 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @workerwork on GitHub (Oct 20, 2023).

Feature Description

I want to know how to set X-Frame-Options if it supported.
May I remove it in http headers?

Screenshots

No response

Originally created by @workerwork on GitHub (Oct 20, 2023). ### Feature Description I want to know how to set X-Frame-Options if it supported. May I remove it in http headers? ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 09:50:59 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Dec 22, 2023):

You can set it in app.ini

;; set X-FRAME-OPTIONS header
;X_FRAME_OPTIONS = SAMEORIGIN

It can't be removed.

@wxiaoguang commented on GitHub (Dec 22, 2023): You can set it in app.ini ``` ;; set X-FRAME-OPTIONS header ;X_FRAME_OPTIONS = SAMEORIGIN ``` It can't be removed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11887