# ファイルからのテーマインポートが機能しない

**URL:** <https://meta.discourse.org/t/theme-import-via-file-not-working/85472>\
**Category:** Bug\
**Created:** [2018 年 4 月 16 日午後 10:40 UTC](https://meta.discourse.org/t/theme-import-via-file-not-working/85472 "2018-04-16T22:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2018 年 4 月 26 日午前 6:22 UTC](https://meta.discourse.org/t/theme-import-via-file-not-working/85472/11 "2018-04-26T06:22:58Z")

</div>

Answer:

```
 return ".json,application/json,application/x-javascript,text/json" + (this.get('extension') ? "," + this.get('extension') : "");

```

[https://github.com/discourse/discourse-data-explorer/blob/master/assets/javascripts/discourse/components/json-file-uploader.js.es6#L44-L46](https://github.com/discourse/discourse-data-explorer/blob/master/assets/javascripts/discourse/components/json-file-uploader.js.es6#L44-L46)

I think that allowing `.json` is probably important.

---

_[View the full topic](https://meta.discourse.org/t/theme-import-via-file-not-working/85472)._
