Skip to content

Commit

Permalink
Add error codes to banned slugs, and Ataturk to init.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesaliyev committed Jul 28, 2024
1 parent 44f2a60 commit d37b27b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"svg.preview.background": "transparent"
}
3 changes: 3 additions & 0 deletions assets/banneds/slugs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
200
404
500
about
abuse
account
Expand Down
4 changes: 3 additions & 1 deletion assets/db/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ CREATE TABLE IF NOT EXISTS links (
INSERT INTO links
(slug, url)
VALUES
('1881', 'https://en.wikipedia.org/wiki/Mustafa_Kemal_Atatürk'),
('ataturk', 'https://www.google.com/search?q=atatürk'),
('rames', 'https://rames.dev'),
('ramesaliyev', 'https://ramesaliyev.com'),
('kesim', 'https://kes.im'),
Expand All @@ -24,6 +26,6 @@ VALUES
('cloudflare', 'https://www.cloudflare.com'),
('github', 'https://github.com'),
('chess', 'https://www.chess.com'),
('chatgpt', 'https://chatgpt.com'),
('chatgpt', 'https://chatgpt.com'),
('youtube', 'https://www.youtube.com'),
('reddit', 'https://www.reddit.com');

0 comments on commit d37b27b

Please sign in to comment.