Skip to content

Commit f0bb91d

Browse files
committed
Misc changes
1 parent b0bc3f5 commit f0bb91d

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ tmp/
88
node_modules/
99
pnpm-lock.yaml
1010
/overlay/
11-
src/assets/php/closed_release_access_manager.php
11+
# src/assets/php/closed_release_access_manager.php

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ This webapp is still very new and there should be a lot of changes to come in th
2929
### Game preview:
3030
<img src="./previews/GamePreview.gif" width="480">
3131

32+
### Default overlay:
33+
<img src="./previews/Default.gif" width="480">
34+
3235
I'm always open to new ideas and sugguestions, so if you feel like something could be added or improved feel free to drop me a message on Github or Discord.

Diff for: previews/Default.gif

17.7 MB
Loading

Diff for: src/assets/php/closed_release_access_manager.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
//This file will be edited manually and I have not made it a database check because it is only a temporary thing.
3+
4+
$allowedUsers = array(
5+
'60d1de6254a82537157312', //readie - localhost
6+
'60fad16b06c78865178484', //readiealt - localhost
7+
'6098449426bca059481523', //readie
8+
'60d2968705af7717659797', //remy
9+
'60d6433d807c2825942598', //unskilledfreak
10+
'60db9eafd4559818088340', //pixelboom
11+
'60dd6af2547a0534874813', //charalol
12+
'60ff2e7f0e478823584208', //aetherialflow
13+
);
14+
15+
if (!in_array($_COOKIE['READIE_UID']??null, $allowedUsers))
16+
{
17+
http_response_code(401);
18+
echo "401 Unauthorized";
19+
exit;
20+
}

0 commit comments

Comments
 (0)