1
Fork 0
mirror of https://github.com/RGBCube/cinny synced 2025-07-31 08:57:46 +00:00

Remove favicons-webpack-plugin (#811)

* Remove favicons-webpack-plugin

* Copy android/* icons to dist

* Add favicon ico
This commit is contained in:
Ajay Bura 2022-09-04 19:23:02 +05:30 committed by GitHub
parent 678e0dc6ac
commit e6661d3b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 106 additions and 3418 deletions

View file

@ -120,7 +120,9 @@ export function cssVar(name) {
}
export function setFavicon(url) {
document.querySelector('[rel=icon]').href = url;
const favicon = document.querySelector('#favicon');
if (!favicon) return;
favicon.setAttribute('href', url);
}
export function copyToClipboard(text) {