@razvan11/paladin 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19925,8 +19925,6 @@ class App {
|
|
|
19925
19925
|
} else {
|
|
19926
19926
|
app[route.method](fullPath, handler);
|
|
19927
19927
|
}
|
|
19928
|
-
if (Bun.env.APP_ENV === "local")
|
|
19929
|
-
this.logger.info(` ${route.method.toUpperCase().padEnd(7)} ${fullPath}`);
|
|
19930
19928
|
}
|
|
19931
19929
|
return this;
|
|
19932
19930
|
}
|
|
@@ -19976,9 +19974,9 @@ class App {
|
|
|
19976
19974
|
});
|
|
19977
19975
|
try {
|
|
19978
19976
|
const server = Bun.serve({
|
|
19979
|
-
port: 3000,
|
|
19980
|
-
hostname: "
|
|
19981
|
-
development:
|
|
19977
|
+
port: Bun.env.PORT ? parseInt(Bun.env.PORT) : 3000,
|
|
19978
|
+
hostname: "0.0.0.0",
|
|
19979
|
+
development: Bun.env.APP_ENV === "local",
|
|
19982
19980
|
fetch(req, server2) {
|
|
19983
19981
|
const url = new URL(req.url);
|
|
19984
19982
|
if (wsPaths.has(url.pathname)) {
|
|
@@ -21049,7 +21047,8 @@ var LayoutView = ({
|
|
|
21049
21047
|
children: title
|
|
21050
21048
|
}, undefined, false, undefined, this),
|
|
21051
21049
|
favicon && /* @__PURE__ */ jsxDEV2("link", {
|
|
21052
|
-
rel: "
|
|
21050
|
+
rel: "icon",
|
|
21051
|
+
type: "image/svg+xml",
|
|
21053
21052
|
href: favicon
|
|
21054
21053
|
}, undefined, false, undefined, this),
|
|
21055
21054
|
styles3.map((href) => /* @__PURE__ */ jsxDEV2("link", {
|