modified: src/components/LoginForm.vue
This commit is contained in:
parent
bdb34c9bf7
commit
1d5009c51c
@ -55,7 +55,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async login() {
|
async login() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:3000/api/login', {
|
const response = await fetch('http://1.14.200.189:4040/api/login', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
@ -74,7 +74,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async register() {
|
async register() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:3000/api/register', {
|
const response = await fetch('http://1.14.200.189:4040/api/register', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
Loading…
Reference in New Issue
Block a user