fix games

This commit is contained in:
Dean @ Skool
2024-02-20 11:57:03 -05:00
parent 3692d0435d
commit c92a276a5e
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ api(app);
app.get('/cdn/*', cors({
origin: false
}), async (req, res, next) => {
const reqTarget = req.path.startsWith('/cdn/3kh0/') ? `https://codeberg.org/derpman/echo/raw/branch/main/${req.path.replace('/cdn/3kh0/', '')}` : `https://raw.githubusercontent.com/Skoolgq/Polaris-Assets/main/${req.path.replace('/cdn/', '')}`;
const reqTarget = req.path.startsWith('/cdn/3kh0/') ? `https://player.work/${req.path.replace('/cdn/3kh0/', '')}` : `https://raw.githubusercontent.com/Skoolgq/Polaris-Assets/main/${req.path.replace('/cdn/', '')}`;
const asset = await fetch(reqTarget);
+4
View File
@@ -1,4 +1,8 @@
[
{
"date": "2/20/2024",
"simpleDescription": "Fixed Lots of games"
},
{
"date": "2/16/2024",
"simpleDescription": "Fixed Roblox"
+1 -1
View File
@@ -441,7 +441,7 @@
},
{
"name": "Roblox",
"target": "https://now.gg/play/roblox-corporation/5349/roblox",
"target": "https://nowgg.nl/play/roblox-corporation/5349/roblox",
"image": "/cdn/images/roblox.png",
"popular": true
},