modified: src/components/LoginForm.vue

This commit is contained in:
IrisVega 2024-07-11 16:48:07 +08:00
parent bdb34c9bf7
commit 1d5009c51c

View File

@ -55,7 +55,7 @@ export default {
methods: {
async login() {
try {
const response = await fetch('http://localhost:3000/api/login', {
const response = await fetch('http://1.14.200.189:4040/api/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
@ -74,7 +74,7 @@ export default {
},
async register() {
try {
const response = await fetch('http://localhost:3000/api/register', {
const response = await fetch('http://1.14.200.189:4040/api/register', {
method: 'POST',
headers: {
'Content-Type': 'application/json'