Skip to content

Commit 92d63e2

Browse files
authored
feat: [FUN-984] Add favicon (#616)
feat: Add favicon Resolves #610
1 parent c815959 commit 92d63e2

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

internal/dev_server/ui/asset_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http"
88
)
99

10-
//go:embed dist/index.html
10+
//go:embed all:dist
1111
var content embed.FS
1212

1313
var AssetHandler = func() http.Handler {
Lines changed: 4 additions & 0 deletions
Loading

internal/dev_server/ui/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en" data-theme="default">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/ui/favicon-osmo-prod.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>LaunchDevly</title>
88
<script type="module" crossorigin>(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&i(d)}).observe(document,{childList:!0,subtree:!0});function n(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(a){if(a.ep)return;a.ep=!0;const c=n(a);fetch(a.href,c)}})();var so=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var D7={exports:{}},yc={},R7={exports:{}},s0={};/**

internal/dev_server/ui/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en" data-theme="default">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/ui/favicon-osmo-prod.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>LaunchDevly</title>
88
</head>
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)