# PWA werkt niet wanneer code wordt toegevoegd aan head\_tag.html

**URL:** <https://meta.discourse.org/t/pwa-not-work-when-add-code-in-head-tag-html/257606>\
**Category:** Development\
**Created:** [9 maart 2023 om 13:26 UTC](https://meta.discourse.org/t/pwa-not-work-when-add-code-in-head-tag-html/257606 "2023-03-09T13:26:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tomtjes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomtjes/32/131271_2.png) [@tomtjes](https://meta.discourse.org/u/tomtjes)\
**Post date:** [10 maart 2023 om 15:53 UTC](https://meta.discourse.org/t/pwa-not-work-when-add-code-in-head-tag-html/257606/4 "2023-03-10T15:53:49Z")

</div>

> [@hoangphuctran93](#):
>
> ```plaintext
> <script type="text/discourse-plugin" version="0.8">
> /*api.replaceIcon('comment', 'icon-messages');
> api.replaceIcon('search', 'icon-search');
> api.replaceIcon('bars', 'icon-menu');
> api.replaceIcon('home', 'icon-home');
> api.replaceIcon('user', 'icon-personal');
> api.replaceIcon('envelope', 'icon-inbox');
> api.replaceIcon('bookmark', 'icon-saved');
> api.replaceIcon('cog', 'icon-setting');
> api.replaceIcon('d-regular', 'icon-plus');*/
> </script>
> 
> ```

The `/*` and `*/` don’t look right.

---

_[View the full topic](https://meta.discourse.org/t/pwa-not-work-when-add-code-in-head-tag-html/257606)._
