# Statisch bestand genereren in Discourse

**URL:** <https://meta.discourse.org/t/generate-static-file-in-discourse/180970>\
**Category:** Product Support\
**Created:** [24 februari 2021 om 05:42 UTC](https://meta.discourse.org/t/generate-static-file-in-discourse/180970 "2021-02-24T05:42:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [26 februari 2021 om 16:21 UTC](https://meta.discourse.org/t/generate-static-file-in-discourse/180970/6 "2021-02-26T16:21:23Z")

</div>

I’m still not clear just what you want, but perhaps you want to allow users to upload other file types? To do that you’d add to the `authorized extensions` site setting.

But if you want Discourse to serve a file like the github link that you linked to, I’m not aware of a way to have a user do that. (I’m not quite sure what happens if you make css an `authorized extension`–I think that the browser will download rather than render the page).

---

_[View the full topic](https://meta.discourse.org/t/generate-static-file-in-discourse/180970)._
