Skip to content

Commit

Permalink
Add it back in with relative pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmaa committed Oct 29, 2024
1 parent f46ef7b commit 43f0b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/js/pages/settings/settings-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import {EventDispatcher} from '../../core/event-dispatcher.js';
import {EventListenerCollection} from '../../core/event-listener-collection.js';
import {fetchJson} from '../../core/fetch-utilities.js';
import {isObjectNotArray} from '../../core/object-utilities.js';
import {generateId} from '../../core/utilities.js';
import {OptionsUtil} from '../../data/options-util.js';
Expand Down Expand Up @@ -77,7 +78,7 @@ export class SettingsController extends EventDispatcher {
/** */
async prepare() {
await this._templates.loadFromFiles(['/templates-settings.html']);
// this._recommendedSettingsByLanguage = await fetchJson('/data/recommended-settings.json');
this._recommendedSettingsByLanguage = await fetchJson('../../data/recommended-settings.json');
this._application.on('optionsUpdated', this._onOptionsUpdated.bind(this));
if (this._canObservePermissionsChanges()) {
chrome.permissions.onAdded.addListener(this._onPermissionsChanged.bind(this));
Expand Down

0 comments on commit 43f0b4e

Please sign in to comment.