passwords and title
This commit is contained in:
parent
f0dc5bcdd5
commit
ab91a53b15
@ -18,8 +18,8 @@ const SOLO_BASE_COUNT = 5;
|
|||||||
const TOGETHER_BASE_COUNT = 5;
|
const TOGETHER_BASE_COUNT = 5;
|
||||||
|
|
||||||
// Passwords
|
// Passwords
|
||||||
const POINTS_PASSWORD = 'mySecretPassword'; // for adding points
|
const POINTS_PASSWORD = 'ParentsOnly25'; // for adding points
|
||||||
const ADMIN_PASSWORD = 'adminSecret'; // for admin panel
|
const ADMIN_PASSWORD = 'Bubb75i-i'; // for admin panel
|
||||||
|
|
||||||
// Timer durations (ms)
|
// Timer durations (ms)
|
||||||
const FIFTEEN_MINUTES = 15 * 60 * 1000;
|
const FIFTEEN_MINUTES = 15 * 60 * 1000;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { useState, useEffect, useRef } from 'react';
|
import React, { useState, useEffect, useRef } from 'react';
|
||||||
|
|
||||||
const SERVER_URL = 'http://localhost:80';
|
const SERVER_URL = 'http://10.1.0.100:80';
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
// -----------------------------
|
// -----------------------------
|
||||||
@ -396,7 +396,7 @@ export default function App() {
|
|||||||
// RENDER
|
// RENDER
|
||||||
return (
|
return (
|
||||||
<div style={styles.container}>
|
<div style={styles.container}>
|
||||||
<h1>Screen-Time App (Remove All Earned + Immediate PW Check)</h1>
|
<h1>Mylin's Points</h1>
|
||||||
|
|
||||||
{statusMessage && <div style={styles.statusBox}>{statusMessage}</div>}
|
{statusMessage && <div style={styles.statusBox}>{statusMessage}</div>}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user