mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-10 10:34:56 +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
|
||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||
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
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
"${PROJECT_SOURCE_DIR}/src/web"
|
||||
$<TARGET_FILE_DIR:${TARGET_NAME}>/web)
|
||||
"${PROJECT_SOURCE_DIR}/resources/web"
|
||||
$<TARGET_FILE_DIR:${TARGET_NAME}>/resources/web)
|
||||
|
||||
# link the shared hifi library
|
||||
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
||||
|
|
|
@ -155,7 +155,7 @@ int main(int argc, const char* argv[]) {
|
|||
|
||||
// list of options. Last element must be NULL.
|
||||
const char *options[] = {"listening_ports", "8080",
|
||||
"document_root", "./web", NULL};
|
||||
"document_root", "./resources/web", NULL};
|
||||
|
||||
callbacks.begin_request = mongooseRequestHandler;
|
||||
callbacks.upload = mongooseUploadHandler;
|
||||
|
|
Loading…
Reference in a new issue