Skip to content

Commit

Permalink
Merge pull request #80 from youranreus/dev3.0
Browse files Browse the repository at this point in the history
some updates
  • Loading branch information
youranreus authored Jul 12, 2022
2 parents b7a0e1e + 32d2bd5 commit d31db64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/G.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ public static function staticUrl($path)
return 'https://cdn.jsdelivr.net/gh/youranreus/G@v' . self::$version . '/' . $path;
else if (self::$config['cdn'] == 'sourcestorage')
return 'https://source.ahdark.com/typecho/theme/G-theme/' . self::$version . '/' . $path;
else if (self::$config['cdn'] == 'jsdfastly')
return 'https://fastly.jsdelivr.net/gh/youranreus/G@v' . self::$version . '/' . $path;
else if (self::$config['cdn'] == 'jsdgcore')
return 'https://gcore.jsdelivr.net/gh/youranreus/G@v' . self::$version . '/' . $path;
else
return self::$config['cdn'] . $path;
}
Expand Down

0 comments on commit d31db64

Please sign in to comment.