meteorlxy / vssue

:mailbox: A Vue-powered Issue-based Comment Plugin
https://vssue.js.org
MIT License
779 stars 107 forks source link

[Question] Vssue with VuePress and a local GitLab server #103

Closed WowItsDoge closed 4 years ago

WowItsDoge commented 4 years ago

Hi, is it possible to use Vssue with VuePress and connect it to a local GitLab server?

When I have integrated the plugin, on login it redirects me to GitLab.com and not our local GitLab instance.

Regards, Jan

meteorlxy commented 4 years ago

Yes, of course. Please check the documentation before open an issue.

https://vssue.js.org/options/#baseurl

WowItsDoge commented 4 years ago

But when I click the Login Button, it redirects to GitLab.com. Maybe it is a bug?

This is in the docs/.vuepress/config.js file.

plugins: [
        [
         '@vssue/vuepress-plugin-vssue', {
            baseUrl: 'https://git.CompanyNameRemoved.com',
            platform: 'gitlab',
            owner: 'GitLabRepositoryOwner',
            repo: 'RepositoryName',
            clientId: 'HashValueRemoved',
            clientSecret: ''HashValueRemoved''
            }
        ]
    ]