Commit graph

8 commits

Author SHA1 Message Date
Breno A
5aa2caf7c9
Refactor: code cleanup and xss fix (#270)
* fix: remove unnecessary xssable text

* chore: remove typo

* fix: ignored promise

* fix: imports can be summarized and the repository already has the typing

* fix: cleanup and remove domain

* chore: lint

* tests: `assert` is deprecated, replace to `with`

docs reference: https://lint.deno.land/rules/no-import-assertions

* ci: bump checkout and Deno

* chore: fix readme tags

* refactor: remove unnecessary constructor

* chore: remove import duplicate

* refactor: replace sort with toSorted

https://rules.sonarsource.com/typescript/RSPEC-4043/?search=Array-mutating%20methods%20should%20not%20be%20used%20misleadingly

* chore: format
2024-06-19 13:37:03 +09:00
Gabriel Logan
a50a8b71fd
fix: correct http return and invalid styling (#269)
* fix: correct http return and invalid styling

Page responded with incorrect http return message.

* fix: correct http return and invalid styling

Update error_page.ts
2024-05-22 14:07:05 +09:00
Gabriel Logan
f85b88a3ef
chore: improving homepage styling (#268)
* chore: improving homepage styling

More pleasant stylization and ease of generating your trophies

* fix: (no-inferrable-types) inferrable types are not allowed

Update error_page.ts

* Update error_page.ts
2024-05-16 01:23:19 +09:00
Alexandro Castro
495eba6a75
chore: types improvements (#226)
chore: types improvements

chore: types improvements
2023-09-30 14:49:18 +09:00
ryo-ma
b093822e8b Fix typo 2022-02-11 02:54:00 +09:00
ryo-ma
3544e23c13 Support to 404 error 2022-02-11 02:49:45 +09:00
ryo-ma
5f08ba0e98 Fix page format 2022-02-11 02:45:31 +09:00
Spenser Black
ac3f80b5cb
Provide descriptive error when username missing
Adds more text to the error to hopefully inform users that they failed
to provide a proper URL, and not that the site is broken.

Error changed to generic 400 since the problem is that the user didn't
make a good request, not that the page itself is missing.
2022-02-10 11:04:05 -05:00