Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

Commit d6b6928

Browse files
committed
perbaiki error cors saat melakukan ajax request
1 parent 1a1f1ce commit d6b6928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/js/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ $(document).ready(function () {
8585
}
8686

8787
if ($('#covid-nasional').length) {
88-
const COVID_API_URL = 'https://api.kawalcorona.com/';
88+
const COVID_API_URL = 'https://api.kawalcorona.com';
8989
const ENDPOINT_NASIONAL = '/indonesia/';
9090
const ENDPOINT_PROVINSI = '/indonesia/provinsi/';
9191

assets/js/widget.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)