File tree Expand file tree Collapse file tree
src/plugins/score-plugin-remotecontrol/RemoteControl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77// Official repository: https://github.com/boostorg/beast
88//
99
10+ #include < Library/LibrarySettings.hpp>
1011#include < RemoteControl/Http_server.hpp>
1112
13+ #include < cstdlib>
14+ #include < iostream>
15+ #include < fstream>
16+
17+
1218// ------------------------------------------------------------------------------
1319
1420namespace RemoteControl
@@ -174,7 +180,7 @@ Http_server::handle_request(
174180 // Cache the size since we need it after the move
175181 auto const size = body.size ();
176182
177- if ( req.target ().find (" remote .html" ) != std::string::npos )
183+ if ( req.target ().find (" ossia_remote .html" ) != std::string::npos )
178184 {
179185 // Load file
180186 QFile f (path.c_str ());
@@ -307,13 +313,9 @@ Http_server::open_server()
307313 {
308314 auto const address2 = net::ip::make_address (" 0.0.0.0" );
309315 auto const port = static_cast <unsigned short >(std::atoi (" 8080" ));
310- <<<<<<< HEAD :src/plugins/score-plugin-remotecontrol/RemoteControl/Http_server.cpp
311- auto const m_docRoot = std::make_shared<std::string>(" ./src/plugins/score-plugin-remotecontrol/CMakeFiles/score_plugin_remotecontrol.dir/RemoteControl/build-wasm/" );
312- =======
313316 std::string packagesPath = score::AppContext ().settings <Library::Settings::Model>().getPackagesPath ().toStdString ();
314- m_buildWasmPath = packagesPath + " /build- wasm/" ;
317+ m_buildWasmPath = packagesPath + " /wasm-remote /" ;
315318 auto const m_docRoot = std::make_shared<std::string>(m_buildWasmPath);
316- >>>>>>> c8b914cd2 (changes from the review):src/plugins/score-plugin-remotecontrol/RemoteControl/HttpServer.cpp
317319
318320 bool is_ip_address_set = false ;
319321
Original file line number Diff line number Diff line change 1616#include < boost/beast/version.hpp>
1717#include < boost/asio/ip/tcp.hpp>
1818#include < boost/config.hpp>
19- #include < cstdlib>
20- #include < iostream>
19+
2120#include < memory>
2221#include < string>
2322#include < thread>
24- #include < fstream>
2523
2624#ifdef _WIN32
2725#define SHUT_RDWR 2
You can’t perform that action at this time.
0 commit comments