Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit fac4220

Browse files
authored
Merge pull request #22 from codewizardshq/front_end_prepare_for_testing
redirects to registration page
2 parents 7019efb + 60b4be2 commit fac4220

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/views/Home.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515

1616
<script>
1717
export default {
18-
name: "home"
18+
name: "home",
19+
created() {
20+
if (window.location.hostname !== "localhost") {
21+
window.location.reload();
22+
}
23+
}
1924
};
2025
</script>

0 commit comments

Comments
 (0)