Compare commits
2 Commits
f8bdfb0c0b
...
5c97e7064f
Author | SHA1 | Date |
---|---|---|
|
5c97e7064f | |
|
9b752a27ef |
|
@ -0,0 +1 @@
|
|||
<EFBFBD>,<2C><><EFBFBD><EFBFBD>;nxlἦ<>D
|
|
@ -0,0 +1,9 @@
|
|||
#将本文件放置于natapp同级目录 程序将读取 [default] 段
|
||||
#在命令行参数模式如 natapp -authtoken=xxx 等相同参数将会覆盖掉此配置
|
||||
#命令行参数 -config= 可以指定任意config.ini文件
|
||||
[default]
|
||||
authtoken=122bf47841319946 #对应一条隧道的authtoken
|
||||
clienttoken= #对应客户端的clienttoken,将会忽略authtoken,若无请留空,
|
||||
log=none #log 日志文件,可指定本地文件, none=不做记录,stdout=直接屏幕输出 ,默认为none
|
||||
loglevel=ERROR #日志等级 DEBUG, INFO, WARNING, ERROR 默认为 DEBUG
|
||||
http_proxy= #代理设置 如 http://10.123.10.10:3128 非代理上网用户请务必留空
|
63
新建文本文档.html
63
新建文本文档.html
|
@ -1,63 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>网络配置</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
.container {
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
padding: 20px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
h1 {
|
||||
color: #333;
|
||||
}
|
||||
form {
|
||||
margin-top: 20px;
|
||||
}
|
||||
input[type="text"], input[type="password"] {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin: 10px 0;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
button {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background-color: #5cb85c;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:hover {
|
||||
background-color: #4cae4c;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>ESP32网络配置</h1>
|
||||
<form action="/wifi" method="POST">
|
||||
<input type="text" name="ssid" placeholder="WIFI名称" required>
|
||||
<input type="password" name="password" placeholder="WIFI密码" required>
|
||||
<h1></h1>
|
||||
<button type="submit">连 接</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue