face-hh / webx

An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search engine, and more.
Apache License 2.0
1.86k stars 151 forks source link

warning: unused variable: `errcode` #185

Open webxhoster opened 5 months ago

webxhoster commented 5 months ago
Describe the bug warning: unused variable: errcode --> src/b9/lua.rs:394:17 394 let errcode = Rc::new(RefCell::new(res.status().as_u16())); ^^^^^^^ help: if this is intentional, prefix it with an underscore: _errcode
= note: `#[warn(unused_variables)]` on by default

warning: webx (bin "webx") generated 1 warning

and websites don't loading

To Reproduce Steps to reproduce the behavior:

  1. Follow compilation for Mac OS
  2. Run cargo run 3 Get the error

Expected behavior website loading

Screenshots

Снимок экрана 2024-06-08 в 22 34 50 Снимок экрана 2024-06-08 в 22 34 27

Desktop (please complete the following information):

Additional context

GStudiosX2 commented 5 months ago

The warning has nothing to do with this I have this issue but only when first opening up the browser

webxhoster commented 5 months ago

but websites won't load @GStudiosX2

GStudiosX2 commented 5 months ago

but websites won't load @GStudiosX2

Press ctrl + shift + s

webxhoster commented 5 months ago

MIMICKING - TYPE: debug, INFO: Failed to send HTTP request to DNS API. @GStudiosX2

GStudiosX2 commented 5 months ago

MIMICKING - TYPE: debug, INFO: Failed to send HTTP request to DNS API. @GStudiosX2

Yes press ctrl + shift + s show what the menu has

webxhoster commented 5 months ago

dns server "api.buss.lol" @GStudiosX2

GStudiosX2 commented 5 months ago

dns server "api.buss.lol" @GStudiosX2

Change it to https://api.buss.lol