Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Fixed apps and games not working
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnblockedHubOfficial committed Jan 21, 2024
1 parent e73c976 commit e5b09f4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { createBareServer } from '@tomphttp/bare-server-node'
import path from 'node:path'
import cors from 'cors'
import config from './config.js'

const __dirname = process.cwd()
const server = http.createServer()
const app = express(server)
Expand Down Expand Up @@ -33,7 +32,7 @@ const routes = [
{ path: '/e', file: 'now.html' },
]

app.get('/w/*', cors({ origin: false }), async (req, res, next) => {
app.get('/y/*', cors({ origin: false }), async (req, res, next) => {
try {
const reqTarget = `https://raw.githubusercontent.com/ypxa/y/main/${req.params[0]}`
const asset = await fetch(reqTarget)
Expand Down
Binary file modified static/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

1 comment on commit e5b09f4

@hop-deploy
Copy link

@hop-deploy hop-deploy bot commented on e5b09f4 Jan 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment Status Build Logs Updated At
theunblockedhub ✅ Deployed View Logs 2024-01-21T19:43:24.304Z

Please sign in to comment.