Skip to content

Commit

Permalink
Update get.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBacou authored Sep 22, 2024
1 parent 02a7d6f commit b703ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/pages/get.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export async function get(file) {
try {
const response = await import(file);
const response = await fetch(file);
if (response.ok) {
return await response.text();
} else {
Expand Down

0 comments on commit b703ebb

Please sign in to comment.