Skip to content

Commit

Permalink
Update issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
agungsugiarto authored Feb 19, 2021
1 parent b7dbf43 commit 3eae993
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/isssue--cors-not-working.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 'Isssue: CORS not working'
about: CORS requests are blocked, follow these steeps
title: ''
labels: ''
assignees: ''

---

**Before you start**

[ ] Update to the latest version by running `composer update agungsugiarto/codeigniter4-cors`
[ ] Make sure that Apache/nginx/etc are NOT also adding CORS headers

**Check your config**

[ ] Double-check your config file with the version from the repo.
[ ] Make sure the filter is added to your config filter.

**Make the request**

Open Chrome Devtools to see which requests are actually happening. Make sure you see the actual OPTIONS requests for POST/PUT/DELETE (see https://stackoverflow.com/questions/57410051/chrome-not-showing-options-requests-in-network-tab)

Please show the actual request + response headers as sent by the OPTIONS request and the POST request (when available)

0 comments on commit 3eae993

Please sign in to comment.