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"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<script src="index.js"></script> <script src="../js/counter.js" type="module"></script>
<title>Counter</title> <title>Counter</title>
</head> </head>
<body onload="initCounter()"> <body>
<div id="page"> <div id="page">
<label>Compteur : </label> <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; let counter = 0;
const ADDRESS = "92.132.18.192:950"
window.onload = () => initCounter();
window.makeIncrement = () => makeIncrement();
function updateText() { function updateText() {
document.getElementById("counter").innerHTML = counter document.getElementById("counter").innerHTML = counter