added set_telnet_port
This commit is contained in:
1 parent
df32a84f7e
commit
0ee71e5509
7 files changed
+76
-5
No files matched your search
@@ -88,7 +88,7 @@ void set_telnet(const httplib::Request &request, httplib::Response &response) {
|
||||
}
|
||||
telnetfileout << stoi(new_telnet_enabled);
|
||||
telnetfileout.close();
|
||||
std::ifstream telnetfile("/etc/openrouter/telnet");
|
||||
std::ifstream telnetfile("/etc/openrouter/telnet/enabled");
|
||||
int telnet_enabled;
|
||||
telnetfile >> telnet_enabled;
|
||||
telnetfile.close();
|
||||
|
||||
Reference in new issue
Block a user