Working on a theme locally

Return to top

5 Comments

  • Diego Hernandez

    When I preview my theme via美元扎-主题预览and paste the /start link in my Chrome URL, I receive a 'blocked by CORS policy' error in the console. The origin is my own subdomain URL as expected, and it attempts to fetch at *myMappedDomain*/hc/activity., which is a URL that throws a 404 error so as far as I can tell, the theme loads trying to fetch data from a page that doesnt exist. This is not part of our code in the templates.

    我did allow for mixed contents to be loaded as per athis article, but there is no mention specifically about the CORS issue.

    While I do use ZAT Tools in this case the troubleshooting step of theTroubleshooting CORSarticle:

    As part of the Apps framework, a back-end proxy server is available via theclient.request()call. Use this proxy by settingcors:falsein the client.request's settings (note: false is also the setting's default value).

    没有帮助,因为我的“特殊情况”previewing the Zendesk Theme which I downloaded from the Guide, there are no explicit client requests being made in the theme files .


    /thanks,

    Diego

    0
  • Cheeny Aban
    Zendesk Customer Care

    Hi Diego,

    We have theCORS Troubleshootingthat will surely help you find a solution for this issue.

    All the best

    0
  • Miguel Romero

    "Important:我f you set up anintegration with GitHub, making any modifications to your theme in Guide will break the GitHub integration."

    我s there any way to reverse this?

    0
  • Dane
    Zendesk Engineering
    Hi Miguel,

    As it turns out, the only method is to perform the integration again once it breaks.
    0
  • Gorka Cardona-Lauridsen
    Zendesk Product Manager

    Hi All,

    We are looking to talk to people that have code customized a Help Center theme or tried and failed to code-customize a theme.

    我f you are up for sharing your feedback through a 30 min video interview, please sign up and answer 3 short survey questions at the end of the form. We would love to hear from you!

    Sign up here.

    Looking forward to talking to you!

    Gorka Cardona-Lauridsen
    Sr. Product Manager, Zendesk Guide

    0

Pleasesign into leave a comment.

Powered by Zendesk