Localhost no mas
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Vinlottis</title>
|
<title>Vinlottis</title>
|
||||||
<link href=/dist/css/vinlottis.2153eea.css rel=stylesheet></head>
|
<link href=/dist/css/vinlottis.9de3c0e.css rel=stylesheet></head>
|
||||||
<body>
|
<body>
|
||||||
<div id=app></div>
|
<div id=app></div>
|
||||||
|
|
||||||
|
|
||||||
<script src=/dist/js/vinlottis.bundle.2153eea.js></script>
|
<script src=/dist/js/vinlottis.bundle.9de3c0e.js></script>
|
||||||
|
|
||||||
<script type=text/javascript src=/dist/js/vinlottis.bundle.2153eea.js></script></body>
|
<script type=text/javascript src=/dist/js/vinlottis.bundle.9de3c0e.js></script></body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -39,25 +39,13 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="label-div">
|
<div class="label-div">
|
||||||
<input
|
<input type="text" v-model="winner.wine.name" placeholder="Vin-navn" />
|
||||||
type="text"
|
|
||||||
v-model="winner.wine.name"
|
|
||||||
placeholder="Vin-navn"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="label-div">
|
<div class="label-div">
|
||||||
<input
|
<input type="text" v-model="winner.wine.vivinoLink" placeholder="Vivino-link" />
|
||||||
type="text"
|
|
||||||
v-model="winner.wine.vivinoLink"
|
|
||||||
placeholder="Vivino-link"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="label-div">
|
<div class="label-div">
|
||||||
<input
|
<input type="text" v-model="winner.wine.rating" placeholder="Rating" />
|
||||||
type="text"
|
|
||||||
v-model="winner.wine.rating"
|
|
||||||
placeholder="Rating"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
@@ -136,7 +124,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let _response = await fetch("http://localhost:30030/api/log/", {
|
let _response = await fetch("/api/log/", {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
// 'Content-Type': 'application/x-www-form-urlencoded',
|
// 'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
|
|||||||
Reference in New Issue
Block a user