diff --git a/src/main.rs b/src/main.rs
index ff1718f..13f8d6c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -166,25 +166,21 @@ fn serve_note_html(
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
@@ -292,11 +288,11 @@ fn get_default_pfp() -> egui::ColorImage {
async fn main() -> Result<(), Box> {
env_logger::init();
- let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
+ let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
// We create a TcpListener and bind it to 127.0.0.1:3000
let listener = TcpListener::bind(addr).await?;
- info!("Listening on 127.0.0.1:3000");
+ info!("Listening on 0.0.0.0:3000");
// Since ndk-sdk will verify for us, we don't need to do it on the db side
let mut cfg = Config::new();
diff --git a/src/render.rs b/src/render.rs
index 3459c6b..521bc6b 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -341,7 +341,7 @@ fn note_ui(app: &Notecrumbs, ctx: &egui::Context, note: &NoteRenderData) {
let outer_margin = 40.0;
let inner_margin = 60.0;
let canvas_width = 1200.0;
- let canvas_height = 630.0;
+ let canvas_height = 600.0;
//let canvas_size = Vec2::new(canvas_width, canvas_height);
let total_margin = outer_margin + inner_margin;
@@ -436,13 +436,13 @@ pub fn render_note(app: &Notecrumbs, render_data: &RenderData) -> Vec {
let mut surface = match render_data {
RenderData::Note(note_render_data) => rasterize(
- (1200, 630),
+ (1200, 600),
|ctx| note_ui(app, ctx, note_render_data),
Some(options),
),
RenderData::Profile(profile_render_data) => rasterize(
- (1200, 630),
+ (1200, 600),
|ctx| profile_ui(app, ctx, profile_render_data),
Some(options),
),