Skip to content

Commit 0575bcc

Browse files
committed
fix hard coded website
1 parent 1494156 commit 0575bcc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/components/Welcome.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h1>{{info.servername}}</h1>
55
<p>Server time elapsed {{worldTime}}</p>
66

7-
<p><a class="btn btn-primary btn-lg" href="https://www.craft.moe" role="button">Learn more &raquo;</a></p>
7+
<p><a class="btn btn-primary btn-lg" href="{{homepage}}" role="button">Learn more &raquo;</a></p>
88

99
</div>
1010
</div>
@@ -23,6 +23,9 @@ export default {
2323
worldTime() {
2424
return moment.duration(this.info.worldTime || 0, 'seconds').humanize();
2525
},
26+
homePage() {
27+
return this.info.homepage;
28+
},
2629
},
2730
};
2831

0 commit comments

Comments
 (0)