forked from rojo-rbx/rojo
Shuffle web_interface into web::interface
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
mod impl_from;
|
mod impl_from;
|
||||||
|
|
||||||
pub mod commands;
|
pub mod commands;
|
||||||
pub mod web_interface;
|
|
||||||
|
|
||||||
// This module is only public for the purpose of testing right now, and won't be
|
// This module is only public for the purpose of testing right now, and won't be
|
||||||
// part of the first version of the Rojo API.
|
// part of the first version of the Rojo API.
|
||||||
|
|||||||
@@ -10,9 +10,11 @@ use rbx_dom_weak::RbxId;
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
serve_session::ServeSession,
|
serve_session::ServeSession,
|
||||||
web::util::response_json,
|
web::{
|
||||||
web_interface::{
|
interface::{
|
||||||
ReadResponse, ServerInfoResponse, SubscribeResponse, PROTOCOL_VERSION, SERVER_VERSION,
|
ReadResponse, ServerInfoResponse, SubscribeResponse, PROTOCOL_VERSION, SERVER_VERSION,
|
||||||
|
},
|
||||||
|
util::response_json,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
mod api;
|
mod api;
|
||||||
|
mod interface;
|
||||||
mod ui;
|
mod ui;
|
||||||
mod util;
|
mod util;
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use futures::{future, Future};
|
|||||||
use hyper::{header, service::Service, Body, Method, Request, Response, StatusCode};
|
use hyper::{header, service::Service, Body, Method, Request, Response, StatusCode};
|
||||||
use ritz::html;
|
use ritz::html;
|
||||||
|
|
||||||
use crate::{serve_session::ServeSession, web_interface::SERVER_VERSION};
|
use crate::{serve_session::ServeSession, web::interface::SERVER_VERSION};
|
||||||
|
|
||||||
static HOME_CSS: &str = include_str!("../../assets/index.css");
|
static HOME_CSS: &str = include_str!("../../assets/index.css");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user