Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
31c0e641
Commit
31c0e641
authored
Feb 22, 2022
by
Eric Duminil
Browse files
Don't ask for password just to show data
parent
cf458c36
Pipeline
#5915
passed with stage
in 2 minutes and 25 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
ampel-firmware/web_server.cpp
View file @
31c0e641
...
...
@@ -205,10 +205,6 @@ namespace web_server {
}
void
handleWebServerRoot
()
{
if
(
!
shouldBeAllowed
())
{
return
web_config
::
http
.
requestAuthentication
(
DIGEST_AUTH
);
}
unsigned
long
ss
=
seconds
();
uint8_t
dd
=
ss
/
86400
;
ss
-=
dd
*
86400
;
...
...
@@ -264,9 +260,6 @@ namespace web_server {
}
void
handleWebServerCSV
()
{
if
(
!
shouldBeAllowed
())
{
return
web_config
::
http
.
requestAuthentication
(
DIGEST_AUTH
);
}
if
(
FS_LIB
.
exists
(
csv_writer
::
filename
))
{
fs
::
File
csv_file
=
FS_LIB
.
open
(
csv_writer
::
filename
,
"r"
);
char
csv_size
[
10
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment