Broadway is dark, the city’s 1.1 million public school students are home from school, and the Big Apple’s 27,000 restaurants will close their doors to diners Tuesday — but none of those warnings could keep Mayor Bill de Blasio from a trip to his favorite public gym in Brooklyn on Monday morning.

“Text I just received (from someone who is definitely not making this up): ‘I just walked by DeBlasio [sic] going into the Y to work out so YOLO?’” a Twitter user named Teddy Goff wrote at 10:08 a.m.

Hizzoner went to the Prospect Park YMCA, a rep said, noting that he arrived around 9 a.m. and left about an hour later.

The mayor’s continued gym-rat routine — which includes a 12-mile drive from Gracie Mansion to Park Slope with his NYPD detail — had some of his former staffers fuming.

“He went to the f–king gym? Jesus!” said one shocked ex-staffer.

Another former City Hall employee told The Post, “Every New Yorker’s regular routine has been put on hold. His should be, too. Get to work. Set an example. This is embarrassing.”

New York Mayor Bill de Blasio arrives at the Park Slope YMCA.
Paul Martinka

A third ex-mayoral staffer added, “I’m offended … horrified.

“Didn’t the CDC recommend no gatherings of 50 people or more? … Will he be counting the amount of people there and leaving if it’s over 49?

“If we’re supposed to be social distancing, then what does that even mean if he gets to play by his own rules? Leaders are supposed to set by example. What kind of example does this set?” the former worker said.

“Also, why is he at the gym and not hunkered down 24/7 working on this? It’s a pandemic, and people are dying. Stunning.

“How many people have to die before he stops getting chauffeured to the gym is my question. What’s the appropriate number of deaths before he finds it uncouth,” the staffer continued.

But today’s workout will be the last one – publicly, anyway — for the mayor as a higher authority has stepped in: Gov. Andrew Cuomo.

Cuomo has ordered all fitness facilities in the state to close by 8 p.m. Monday.

Five city residents have died from the virus, and at least 329 have tested positive for the disease.

While the mayor made bars and restaurants to takeout-only and closed large venues, schools and senior centers, he waited for the governor to take action on shutting gyms.

Freddi Goldstein, the mayor’s press secretary, said the mayor has a strong emotional connection to the Y, which is located a few blocks from the Park Slope home where he raised his two kids with his wife, Chirlane McCray.

“The YMCA has been a huge part of his and his family’s life, like it has been for a lot of New Yorkers. It’s clear that’s about to change and before that, the mayor wanted to visit a place that keeps him grounded one last time,” Goldstein said.

“That doesn’t change the fact that he is working around the clock to ensure the safety of New Yorkers. After today, gyms will close and he will no longer be visiting the YMCA for the foreseeable future.”