Commit Graph

7 Commits

Author SHA1 Message Date
perennial cfe80ec359 Revert "broken anti-csrf implementation"
This reverts commit 60d76ab40e.
2024-10-01 16:45:12 +10:00
perennial d371dba844 broken anti-csrf implementation 2024-10-01 16:44:57 +10:00
iacore e27dc301e2 Add cookie: Locale 2024-10-08 22:55:13 +00:00
iacore 5f8b659b49 use urlx.Parse 2024-09-28 23:12:00 +00:00
perennial a8aaefef37 Restore user token precedence and rename GetPixivToken
This commit restores the ability to use a user-provided token when
making API requests and gives it precedence over the default token
provided by tokenManager.

Additionally, the function GetPixivToken has been renamed to
GetUserToken for clarity.
2024-09-22 02:27:32 +10:00
iacore 21db4db9b0 rewrite code about environment variables 2024-09-05 17:17:23 +00:00
iacore 51dad4eb74 move most go files to server/ 2024-09-05 16:08:08 +00:00