Code-server: 'X-Frame-Options' Issus in extension detail page

Created on 9 Sep 2019  路  4Comments  路  Source: cdr/code-server


  • code-server version: 2.preview.11-vsc1.37.0
  • OS Version: Ubuntu 18.04

Description

The extension detail page could not be loaded due to X-Frame-Options Issus

image

Steps to Reproduce

  1. Run code-server
  2. Open Extension page of code server
  3. Click any extension to open detail page on the right side
  4. The extension detail page could not be loaded
bug

Most helpful comment

I'll mark this as resolved for now since we already updated the docs which shouldn't break v2 now.

All 4 comments

I found the reason!

According to the self-hosted doc, The proxy server has been set to add

add_header X-Frame-Options DENY;

So I just simply modify it to

add_header X-Frame-Options SAMEORIGIN;

And every works perfectly now.

Please update your document~

CC @code-asher

I believe this was already removed from the docs in v2.

I'll mark this as resolved for now since we already updated the docs which shouldn't break v2 now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pchecinski picture pchecinski  路  3Comments

grant picture grant  路  3Comments

infogulch picture infogulch  路  3Comments

tecosaur picture tecosaur  路  3Comments

Arsaev picture Arsaev  路  3Comments