diff --git a/js/view.js b/js/view.js index 08488f6..3669fc7 100644 --- a/js/view.js +++ b/js/view.js @@ -3,7 +3,7 @@ const view = {}; view.get = async (file, callback, _fetch, ext = false) => { const http = _fetch ?? fetch; - const base = "https://jmfcool.com/"; + const base = _fetch && !ext ? "https://jmfcool.com/" : ""; try {