removed .env
This commit is contained in:
@@ -41,7 +41,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async register() {
|
async register() {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:3000/register', {
|
const response = await fetch('/register', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
|
|||||||
Reference in New Issue
Block a user