mirror of
https://github.com/overte-org/overte.git
synced 2025-06-22 13:41:49 +02:00
move DS web to resources for deploys
This commit is contained in:
parent
d089991237
commit
c40e848220
12 changed files with 4 additions and 4 deletions
|
@ -11,11 +11,11 @@ setup_hifi_project(${TARGET_NAME} TRUE)
|
||||||
# remove and then copy the files for the webserver
|
# remove and then copy the files for the webserver
|
||||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E remove_directory
|
COMMAND ${CMAKE_COMMAND} -E remove_directory
|
||||||
$<TARGET_FILE_DIR:${TARGET_NAME}>/web)
|
$<TARGET_FILE_DIR:${TARGET_NAME}>/resources/web)
|
||||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
"${PROJECT_SOURCE_DIR}/src/web"
|
"${PROJECT_SOURCE_DIR}/resources/web"
|
||||||
$<TARGET_FILE_DIR:${TARGET_NAME}>/web)
|
$<TARGET_FILE_DIR:${TARGET_NAME}>/resources/web)
|
||||||
|
|
||||||
# link the shared hifi library
|
# link the shared hifi library
|
||||||
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
||||||
|
|
|
@ -155,7 +155,7 @@ int main(int argc, const char* argv[]) {
|
||||||
|
|
||||||
// list of options. Last element must be NULL.
|
// list of options. Last element must be NULL.
|
||||||
const char *options[] = {"listening_ports", "8080",
|
const char *options[] = {"listening_ports", "8080",
|
||||||
"document_root", "./web", NULL};
|
"document_root", "./resources/web", NULL};
|
||||||
|
|
||||||
callbacks.begin_request = mongooseRequestHandler;
|
callbacks.begin_request = mongooseRequestHandler;
|
||||||
callbacks.upload = mongooseUploadHandler;
|
callbacks.upload = mongooseUploadHandler;
|
||||||
|
|
Loading…
Reference in a new issue