# Solid Plume - simple blog app

**URL:** <https://forum.solidproject.org/t/solid-plume-simple-blog-app/1681>\
**Category:** Solid Information\
**Created:** [April 12, 2019, 11:15am UTC](https://forum.solidproject.org/t/solid-plume-simple-blog-app/1681 "2019-04-12T11:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![A\_A](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/a_a/32/786_2.png) [@A\_A](https://forum.solidproject.org/u/A_A)\
**Post date:** [April 22, 2019, 2:23pm UTC](https://forum.solidproject.org/t/solid-plume-simple-blog-app/1681/52 "2019-04-22T14:23:56Z")

</div>

@ztein Could you change the `copyFile` method in src/Api/Api.js to following and try it again?

```javascript
export async function copyFile(originPath, originName, destinationPath, destinationName) {
    const fileResponse = await fetchFile(originPath, originName);
    const contentType = fileResponse.headers.get('Content-Type');
    const content = (contentType === 'application/json') ?
        await fileResponse.text()
        : await fileResponse.blob();

    // Note: Not passing contentType as parameter as this would lead to errors when creating .json files
    return createItem(destinationPath, destinationName, content);
}

```

I can’t reproduce it with the solid.community version (I think it’s NSS 4.x.x, so it’s probably an incompatibility with NSS v5.x) and don’t have a v5 pod for testing it so it maybe fixes it and maybe does nothing.

And could we move this bug discussion to [github](https://github.com/Otto-AA/solid-filemanager) or the [forum post](http://forum.solidproject.org/t/solid-file-manager/1388/22) so we don’t litter this thread too much?

---

_[View the full topic](https://forum.solidproject.org/t/solid-plume-simple-blog-app/1681)._
