fixed server IP changes
continuous-integration/drone/push Build is failing Details

drone-setup
Override-6 2 years ago
parent 5c3169c7ce
commit ad90306a99

@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="index.js"></script>
<script src="../js/counter.js" type="module"></script>
<title>Counter</title>
</head>
<body onload="initCounter()">
<body>
<div id="page">
<label>Compteur : </label>

@ -0,0 +1 @@
export const ADDRESS = "92.132.64.175:950"

@ -1,5 +1,9 @@
import {ADDRESS} from "./constants.js";
let counter = 0;
const ADDRESS = "92.132.18.192:950"
window.onload = () => initCounter();
window.makeIncrement = () => makeIncrement();
function updateText() {
document.getElementById("counter").innerHTML = counter