mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
✨ Initial commit with Sveltekit + format files
This commit is contained in:
@@ -3,7 +3,7 @@ interface SourceParams {
|
||||
}
|
||||
|
||||
export const getSource = async (params: SourceParams) => {
|
||||
const response = await fetch(params.url || '');
|
||||
const response = await fetch(params.url || "");
|
||||
const content = await response.text();
|
||||
return content;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user