pingcap / pingcap/tiup

CORS errors on https://tiup.io

Open
#1,406 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/bug
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Bug Report

image

The JS code is coming from this file:
https://github.com/pingcap/tiup/blob/gh-pages/index.html

Either the right headers should be set or we should remove or replace this code.

This happens with Mozilla Firefox 88.0.1 and Google Chrome 91.0.4472.77

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open gh-pages/index.html and reproduce the CORS error in Firefox or Chrome to identify the JavaScript request involved. Determine whether the required headers can be set or whether the referenced code should be removed or replaced; done means the page no longer produces the reported CORS errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.