mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Fix dev launchpad link
This commit is contained in:
parent
2e1bfecb5f
commit
8a6e13fa38
@ -440,7 +440,7 @@
|
||||
if ((app.importance ?? 0) === importance) {
|
||||
// TODO escape HTML
|
||||
appContainer.innerHTML += `
|
||||
<a href="http://${`${stackPortPrefix}` === "81" ? "" : `p${stackPortPrefix}.`}localhost:${withPrefix(app.portSuffix)}${app.path ?? ""}" target="_blank" rel="noopener noreferrer" class="${app.importance === 2 ? "important" : app.importance === 1 ? "" : "unimportant"}">
|
||||
<a href="http://${app.portSuffix === "42" ? "127.0.0.1" : (`${stackPortPrefix}` === "81" ? "localhost" : `p${stackPortPrefix}.localhost`)}:${withPrefix(app.portSuffix)}${app.path ?? ""}" target="_blank" rel="noopener noreferrer" class="${app.importance === 2 ? "important" : app.importance === 1 ? "" : "unimportant"}">
|
||||
<div class="port">:${withPrefix(app.portSuffix)}</div>
|
||||
<div>
|
||||
<img src=${app.img || `//localhost:${withPrefix(app.portSuffix)}/favicon.ico`} />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user