Commit Graph

30 Commits (6a7aafbff43f8c936b27c0e71f07065945472980)
 

Author SHA1 Message Date
maru 6a7aafbff4
Update endpoint comments
maru be62fc939a
Add token length check to account info handler
maru b1e67634df
Fix generated token size
maru 575167f0f9
Simplify error return in GetUsernameFromToken
maru d533eeee5f
Add more CORS headers
maru 955359c3b1
Use Set instead of Add for CORS header
maru 1dee0cbc3a
Add debug mode bool
maru cd2118dfec
Use localhost for dbaddr default
maru e8fc5aad13
Edit comment for addr flag
maru b64ae0bf47
Rename address flag to addr
maru 40c2b50f91
Rename network flag to proto
Flashfyre 9ef76f1064 Fix account session insert query typo
Flashfyre 9d9a24fb96 Merge branch 'master' of https://github.com/Flashfyre/pokerogue-server
Flashfyre 688b435bd1 Rename key column to hash
maru 9a8b816b1b
More verbose error response in register endpoint
maru ee0326da0e
Fix minimum username length
maru 020c4d05bf
Fix calls to isValidUsername
Flashfyre b4be49bf80 Fix query keyword conflict by using alias
maru f5d9cc6760
Workaround for column name
maru 8337f8021d
Add extra error in account info handler
maru 0e6b2bbf5c
Fix query in GetUsernameFromToken
maru 9ccfbd7acb
Change default database name
maru 445bc42e6f
Drop /api prefix from endpoints
maru f215a31e92
Use chmod on socket file
maru 28713ec9db
Delete old socket file if it exists
maru 8d3d24a58a
Add mysql driver
maru 4600b7b024
More changes
maru f690c53607
Add changes so far
maru 4bb225a945
Create go.mod
Samuel H c5fa89b061
Initial commit