Compare commits
No commits in common. "2dbdbb2441e66582e4b4a478b3dc2c8c60021f96" and "ab452d985c64d24b987b8c66e330a33f65ee1234" have entirely different histories.
2dbdbb2441
...
ab452d985c
|
@ -151,17 +151,17 @@ async function getApi(path,auth = false) {
|
|||
log(`resp.status: ${resp.status}`)
|
||||
log(`resp.json: ${json}`)
|
||||
if (resp.status != 200) {
|
||||
log(`lib.main: getApi: Response status: ${resp.status}`)
|
||||
return resp.status
|
||||
}
|
||||
if (!resp.ok) {
|
||||
log(`lib.main: getApi: Fetch error`)
|
||||
return false
|
||||
}
|
||||
if (json === "[]") {
|
||||
return 'empty'
|
||||
}
|
||||
return json;
|
||||
} catch(err) {
|
||||
log(`lib.main: getApi: Caught fetch error. Status: ${resp.status}`)
|
||||
return resp.status
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<br><br><br>
|
||||
<label>Register for Rail Staff Version:</label>
|
||||
<p id="reg_text">Enter your work email address:</p>
|
||||
<input type="text" maxlength="128" id="eml" name="eml" autocomplete="email" class="lookup-box"><br>
|
||||
<input type="text" maxlength="128" id="eml" name="eml" autocomplete="email" class="lookup-box" placeholder="Not yet available"><br>
|
||||
<p>One registration confirmation email will be sent which will include more details about your account</p>
|
||||
<p>Your address will not be stored</p>
|
||||
<p>If your domain is not authorised and you are a using a railway company email address,
|
||||
|
|
Reference in New Issue