Added basic comments.

This commit is contained in:
2023-06-11 05:32:02 +02:00
parent 9a9b92a6b1
commit 0d5744e3ff
26 changed files with 441 additions and 89 deletions

View File

@@ -104,7 +104,7 @@ const errorMsg = ref(null);
async function signup() {
try {
await post('/api/users', {
await post('/users', {
username: username.value,
email: email.value,
password: password.value,

View File

@@ -76,7 +76,7 @@ const errorMsg = ref(null);
async function signup() {
try {
await post('/api/session', {
await post('/session', {
username: username.value,
password: password.value,
});