Skip to content

Commit

Permalink
Convert absolute path to relative
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelvaara committed Oct 10, 2024
1 parent 22360d1 commit 898a64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/js/translation-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
async function loadLocaleMessages(locale) {
const messages = {};
try {
const response = await fetch(`http://localhost/skosmos/resource/translations/messages.${locale}.json`);
const response = await fetch(`resource/translations/messages.${locale}.json`);
const data = await response.json();
messages[locale] = data;
} catch (error) {
Expand Down

0 comments on commit 898a64e

Please sign in to comment.