Skip to content

Commit 5901d59

Browse files
authored
Merge pull request #57 from Flow-Launcher/remove-cdn-usage-to-download-plugins.json
fix: update fetch URL for plugins JSON to use raw GitHub content
2 parents bde8742 + 8766746 commit 5901d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/getPluginsJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let cachedData: ExtendedPlugin[] = [];
2323

2424
export async function getPluginsJson() {
2525
if (!cachedData?.length) {
26-
const data: FlowPlugin[] = await fetch("https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json").then(v => v.json());
26+
const data: FlowPlugin[] = await fetch("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json").then(v => v.json());
2727
const plugins = await getCollection("plugins");
2828

2929
cachedData = data.map(v => {

0 commit comments

Comments
 (0)