Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Unable to preview media assets locally #319

@YanxiChen-gh

Description

@YanxiChen-gh

I am trying to migrate from NetlifyCMS to StaticJsCMS. I have not deployed my changes but just trying out things locally. It seems like I am unable to preview my media assets locally.

Here's my repo that's already using NetlifyCMS https://github.com/SeraphRoy/SeraphRoy.github.io. All I changed is the admin/index.html to make it use StaticCMS.

Attached the screenshot along with developer console. Seems like it's trying to read the file from the host but since this is localhost is't just not able to read it.

Screen Shot 2023-01-07 at 10 31 41 PM

Screen Shot 2023-01-07 at 10 42 17 PM

I am using https://unpkg.com/@staticcms/app@latest/dist/static-cms-app.js

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions