Deploy Frontity con Vercel

Description of my problem

I uploaded my project done with Frontity to Vercel, I successfully linked it with the domain:
https://itrblog.hugoromero.com.ar/

Everything works perfect except the following point that I detail:

When a user tries to access a category (Click on the category “Science and technology”) the section is constantly loading.

Link to the project on Github

My personal mail
info@hugoromero.com.ar

Thank you very much!

En español
DescripciĂłn de mi problema

Subí mi proyecto realizado con Frontity a Vercel, lo vinculé de forma éxitosa con el subdominio (arriba el link ↑)

Todo funciona perfecto excepto el siguiente punto que detallo:

Cuando un usuario pretende acceder a una categoría ( Por ejemplo hacer click en categoría “Ciencia y tecnología” ) la sección queda constantemente cargando.

Desde ya mil gracias! :slight_smile:

Problem solved. The error was in the file frontity.settings.js

Incorrect link: http://somositr.com/blog/wp-json
Correct link: https://somositr.com/blog/wp-json

2 Likes

Glad to see that you finally managed to find the error, @HugoRomero. And welcome to the community! :slight_smile:

1 Like

I just have solves this issue by myself to :grinning: It’s a bit stupid because locally (over HTTP) it works perfectly

@Reyes maybe it’d be a good idea to put a line, inside the vercel documentation (https://docs.frontity.org/deployment/deploy-using-vercel) to make sure people are using HTTPS for the api in wp-source. As vercel does force HTTPS. What do you think?

2 Likes

Good point @phn. Let’s ping the @documentation-team. In any case, it would be great if you contribute to the docs with this suggestion. It’s pretty easy, you have a guide covering how to do it here.

4 Likes

@phn

I’ve created an issue to implement your suggestion: https://github.com/frontity/docs/issues/187

As @Pablo suggests, feel free to submit a PR with your suggestion. Frontity is an open source project and we welcome contributions from the community.

3 Likes

oh thanks, I will try to create a PR for this :grinning:

2 Likes