Removed hash from routes.

This commit is contained in:
2020-10-11 13:56:17 +02:00
committed by KevinMidboe
parent 2062f64999
commit 0923965544
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ async function sendWineSelectMessage(winnerObject) {
winnerObject.timestamp_limit = new Date().getTime() * 600000;
await winnerObject.save();
let url = new URL(`/#/winner/${winnerObject.id}`, "https://lottis.vin");
let url = new URL(`/winner/${winnerObject.id}`, "https://lottis.vin");
return sendMessageToUser(
winnerObject.phoneNumber,

View File

@@ -39,7 +39,7 @@ const submitWines = async (req, res) => {
const message = JSON.stringify({
message: "Dagens vin er lagt til, se den på lottis.vin/dagens!",
title: "Ny vin!",
link: "/#/dagens"
link: "/dagens"
});
try {

View File

@@ -13,7 +13,7 @@
/>
</section>
<div class="to-lottery-container">
<a href="#/lottery" class="to-lottery">Vil du til lotteriet?<span class="vin-link">Trykk her</span></a>
<router-link to="/lottery" class="to-lottery">Vil du til lotteriet?<span class="vin-link">Trykk her</span></router-link>
</div>
<section class="chart-container">
<PurchaseGraph class="purchase" />