modified: src/components/LoginForm.vue
This commit is contained in:
parent
bdb34c9bf7
commit
1d5009c51c
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user