From 82d58b1c7e28d7ac9cc79fb7f97bdcd49a5370a8 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Fri, 1 Nov 2024 20:01:19 +0800 Subject: [PATCH] Update platforms.js --- src/config/platforms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/platforms.js b/src/config/platforms.js index d108ba9..89d20a9 100644 --- a/src/config/platforms.js +++ b/src/config/platforms.js @@ -5,7 +5,7 @@ export const PLATFORMS = { /** @type {{base: string, transform: function(string): string}} GitHub configuration */ gh: { - base: 'https://raw.githubusercontent.com', + base: 'https://github.com', transform: (path) => path.replace(/^\/gh\//, '/'), }, /** @type {{base: string, transform: function(string): string}} GitLab configuration */