build
This commit is contained in:
@@ -7,14 +7,7 @@
|
||||
const channel = getContext("channel");
|
||||
const user = getContext("user");
|
||||
|
||||
function buildWebsite(e) {
|
||||
e.preventDefault();
|
||||
|
||||
axios.post(channel.lucentUrl + "/build").then(response => {
|
||||
window.location.href = channel.lucentUrl + "/build-report"
|
||||
})
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<nav class="lx-nav">
|
||||
@@ -27,7 +20,7 @@
|
||||
<a class="nav-item" href="{channel.lucentUrl}/members">Members</a>
|
||||
|
||||
{#if channel.generateCommand}
|
||||
<button on:click={buildWebsite} class="btn btn-outline-primary btn-sm">Build website</button>
|
||||
<a href="{channel.lucentUrl}/build-report" class="btn btn-outline-primary btn-sm">Build website</a>
|
||||
{/if}
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user