Skip to content

Decide on how to mirror functionality when switching to static files #356

Description

@neverendingqs

@neverendingqs As @sargunv pointed out, I don’t think the .json extension will be a problem. We can either use an index document (easy with S3, I’m sure Netlify makes it easy too), or we can write the files directly with no extension and ensure we set the mime type correctly (S3 all good, again I’m sure Netlify would have a way).

Looking at Netlify, I don't see explicit documentation about how to specify an index document. https://www.netlify.com/docs/redirects/#trailing-slash (especially the Pretty URLs feature) does suggest that Netlify handles trailing slashes and seems to suggest that it can map https://pokeapi.co/api/v2/language/index.json to https://pokeapi.co/api/v2/language/.

It seems like ditto clone should work as-is if we turn on this feature. Is this what you two had in mind?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions