overleaf / web

The web front end for Overleaf, a web-based collaborative LaTeX editor
GNU Affero General Public License v3.0
348 stars 170 forks source link

problem to see template #118

Closed littlejo closed 10 years ago

littlejo commented 10 years ago

When i go to https://url/templates

I have this :

[2014-10-20T08:54:12.991Z] ERROR: web-sharelatex/11713 on latex: something went wrong in renderTemplatesIndexPage Error: connect ECONNREFUSED at errnoException (net.js:904:11) at Object.afterConnect as oncomplete

my config:

            templates:
                    url: "http://localhost:3007"

[...]

    templates: [{
            name : "cv_or_resume",
            url : "/templates/cv"
    }, {
            name : "cover_letter",
            url : "/templates/cover-letters"
    }, {
            name : "journal_article",
            url : "/templates/journals"
    }, {
            name : "presentation",
            url : "/templates/presentations"
    }, {
            name : "thesis",
            url : "/templates/thesis"
    }, {
            name : "bibliographies",
            url : "/templates/bibliographies"
    }, {
            name : "view_all",
            url : "/templates"
    }]

What's wrong ?

henryoswald commented 10 years ago

The templates api is not currently open sourced so you won't be able to access it. You should probably comment out that part of the config.