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