bcgov / bcgov/wps

C-Haines: CORS errors requested data from object store

Open
#3,587 1 comment 0 reactions 0 assignees View on GitHub
4Refinement Bug
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Actual Behaviour**

All requests for json/kml files from object store result in CORS errors.

**Steps To Reproduce**

1. Go to C-Haines
2. Choose a date with data
3. See errors in dev console

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Expected Behaviour**

Requests for json/kml from object store should succeed.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in C-Haines by selecting a date with data and inspecting the browser developer console. Trace the requests for the object store's JSON and KML files, then identify where their CORS behavior is configured. Done means both request types succeed without CORS errors.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.