Skip to content

Commit

Permalink
enabled ui as a SPA
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-ant committed Sep 28, 2024
1 parent 7c6c778 commit 24be7f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions services/user/Chainmail/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ mod service {
use serde::{Deserialize, Serialize};
use services::accounts::Wrapper as AccountsSvc;
use services::events::Wrapper as EventsSvc;
// use services::sites::Wrapper as SitesSvc;
use services::sites::Wrapper as SitesSvc;

use crate::serve_rest_api;

Expand All @@ -162,8 +162,7 @@ mod service {
);
table.put(&InitRow {}).unwrap();

// Register as SPA
// SitesSvc::call().
SitesSvc::call().enableSpa(true);

EventsSvc::call().setSchema(create_schema::<Wrapper>());
EventsSvc::call().addIndex(DbId::HistoryEvent, SERVICE, MethodNumber::from("sent"), 0);
Expand Down

0 comments on commit 24be7f2

Please sign in to comment.