Shuffle web_interface into web::interface

This commit is contained in:
Lucien Greathouse
2019-09-03 14:00:31 -07:00
parent 27517e1aee
commit 27839dfd21
5 changed files with 7 additions and 5 deletions

View File

@@ -5,7 +5,6 @@
mod impl_from;
pub mod commands;
pub mod web_interface;
// 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.

View File

@@ -10,9 +10,11 @@ use rbx_dom_weak::RbxId;
use crate::{
serve_session::ServeSession,
web::util::response_json,
web_interface::{
ReadResponse, ServerInfoResponse, SubscribeResponse, PROTOCOL_VERSION, SERVER_VERSION,
web::{
interface::{
ReadResponse, ServerInfoResponse, SubscribeResponse, PROTOCOL_VERSION, SERVER_VERSION,
},
util::response_json,
},
};

View File

@@ -1,4 +1,5 @@
mod api;
mod interface;
mod ui;
mod util;

View File

@@ -6,7 +6,7 @@ use futures::{future, Future};
use hyper::{header, service::Service, Body, Method, Request, Response, StatusCode};
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");