docs: update upgrade page title and heading; adjust cache control duration
This commit is contained in:
parent
265ff0c787
commit
c1be6ca582
@ -1,9 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<!-- head --><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FilaMan - Firmware Update</title>
|
||||
<title>FilaMan - Filament Management Tool</title>
|
||||
<link rel="icon" type="image/png" href="/favicon.ico">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script>
|
||||
fetch('/api/version')
|
||||
@ -49,7 +50,8 @@
|
||||
<!-- head -->
|
||||
|
||||
<div class="content">
|
||||
<h1>System Update</h1>
|
||||
<h1>Firmware Upgrade</h1>
|
||||
|
||||
<div class="warning">
|
||||
<strong>Warning:</strong> Do not power off the device during update.
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <Update.h>
|
||||
|
||||
// Cache-Control Header definieren
|
||||
#define CACHE_CONTROL "max-age=31536000" // Cache für 1 Jahr
|
||||
#define CACHE_CONTROL "max-age=604800" // Cache für 1 Jahr
|
||||
#define VERSION "1.0.0"
|
||||
|
||||
AsyncWebServer server(webserverPort);
|
||||
|
Loading…
x
Reference in New Issue
Block a user