Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit d065774

Browse files
FORMATTING
1 parent 9213eed commit d065774

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

astro.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ dotenv.config();
1010

1111
// https://astro.build/config
1212
export default defineConfig({
13-
integrations: [prefetch(), tailwind(), react(), robotsTxt(), partytown()],
14-
site: process.env.URL,
15-
output: 'server',
16-
adapter: node({
17-
mode: 'middleware'
18-
})
13+
integrations: [prefetch(), tailwind(), react(), robotsTxt(), partytown()],
14+
site: process.env.URL,
15+
output: 'server',
16+
adapter: node({
17+
mode: 'middleware',
18+
}),
1919
});

index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ if (cluster.isPrimary) {
160160
})
161161
);
162162
app.get('/loading', (req, res) => {
163-
return res.end(loadingPage)
163+
return res.end(loadingPage);
164164
});
165165
app.post('/login-form', (req, res) => {
166166
let body = req.body;
@@ -172,16 +172,15 @@ if (cluster.isPrimary) {
172172
res.writeHead(302, {
173173
location: '/',
174174
'Set-Cookie': `key=${key}; Path=/; expires=Thu, 31 Dec 2099 23:59:59 GMT;`,
175-
})
175+
});
176176
res.end();
177177
return;
178-
}
179-
else {
180-
res.writeHead(401)
178+
} else {
179+
res.writeHead(401);
181180
res.end(educationWebsite);
182181
return;
183182
}
184-
})
183+
});
185184
app.use((req, res) => {
186185
res.writeHead(302, {
187186
Location: '/404',

public/assets/games.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,12 @@
392392
"url": ""
393393
},
394394
{
395-
"img": "/assets/games-thumb/basketball-stars.png",
396-
"baseFile": "index.html",
397-
"name": "Basketball Stars",
398-
"cdn": "false",
399-
"proxy": "false",
400-
"url": ""
395+
"img": "/assets/games-thumb/basketball-stars.png",
396+
"baseFile": "index.html",
397+
"name": "Basketball Stars",
398+
"cdn": "false",
399+
"proxy": "false",
400+
"url": ""
401401
},
402402
{
403403
"img": "/assets/games-thumb/slope-2.png",

render.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
services:
2-
- type: web
3-
name: ruby
4-
env: docker
5-
plan: free
2+
- type: web
3+
name: ruby
4+
env: docker
5+
plan: free

0 commit comments

Comments
 (0)