mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 01:36:53 +00:00
change url to https
This commit is contained in:
parent
f5630ba590
commit
53b593086c
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ export default {
|
||||||
login() {
|
login() {
|
||||||
if (this.input.username !== '' && this.input.password !== '') {
|
if (this.input.username !== '' && this.input.password !== '') {
|
||||||
console.log('Authenticated: Checking with Backend');
|
console.log('Authenticated: Checking with Backend');
|
||||||
fetch(`http://test.techtransthai.org:5001/api/users/login`, {
|
fetch(`https://little-lines-backend.techtransthai.org/api/users/login`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|
|
@ -108,7 +108,7 @@ import eyeNotLooking from '../../icons/Material/eye-not-looking.svg';
|
||||||
register() {
|
register() {
|
||||||
if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) {
|
if (this.input.username !== '' && ((this.input.password !='') && (this.input.password == this.input.passwordConfirm))) {
|
||||||
console.log('Authenticated: Checking with Backend');
|
console.log('Authenticated: Checking with Backend');
|
||||||
fetch("http://test.techtransthai.org:5001/api/users/create", {
|
fetch("https://little-lines-backend.techtransthai.org/api/users/create", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
Loading…
Reference in a new issue