fix: update poll end date to 8/24/25 in server and constants
This commit is contained in:
parent
27565f513c
commit
a432fb9b04
@ -19,8 +19,8 @@ const FRONTEND_URL = process.env.FRONTEND_URL || 'http://localhost:5173';
|
|||||||
const VOTES_FILE = path.join(process.cwd(), 'votes.json');
|
const VOTES_FILE = path.join(process.cwd(), 'votes.json');
|
||||||
const PRODUCTION_DOMAIN = process.env.DOMAIN || 'https://s22.ethanf.gg';
|
const PRODUCTION_DOMAIN = process.env.DOMAIN || 'https://s22.ethanf.gg';
|
||||||
|
|
||||||
// Poll ends at 11:59 PM Eastern Time on 8/21/25
|
// Poll ends at 11:59 PM Eastern Time on 8/24/25
|
||||||
const POLL_END_DATE = new Date("2025-08-21T23:59:59-04:00");
|
const POLL_END_DATE = new Date("2025-08-24T23:59:59-04:00");
|
||||||
|
|
||||||
function isPollEnded() {
|
function isPollEnded() {
|
||||||
return new Date() > POLL_END_DATE;
|
return new Date() > POLL_END_DATE;
|
||||||
|
|||||||
@ -8,8 +8,8 @@ export const POLL_NAME = "Unofficial RGL HL Season 22 Stopwatch Map Poll";
|
|||||||
|
|
||||||
export const API_BASE_URL = "https://s22.ethanf.gg";
|
export const API_BASE_URL = "https://s22.ethanf.gg";
|
||||||
|
|
||||||
// Poll ends at 11:59 PM Eastern Time on 8/21/25
|
// Poll ends at 11:59 PM Eastern Time on 8/24/25
|
||||||
export const POLL_END_DATE = new Date("2025-08-21T23:59:59-04:00"); // EDT timezone
|
export const POLL_END_DATE = new Date("2025-08-24T23:59:59-04:00"); // EDT timezone
|
||||||
|
|
||||||
export const mapOptions: MapOption[] = [
|
export const mapOptions: MapOption[] = [
|
||||||
{ name: "cp_steel_f12", img: steel },
|
{ name: "cp_steel_f12", img: steel },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user