Khaaz / Discord-GitHook

Lightweight API that routes github and gitlab webhook requests to Discord
MIT License
9 stars 2 forks source link

Gitlab url should be dynamic to support selfhosted instances #14

Closed Khaaz closed 4 years ago

Khaaz commented 4 years ago

Roadmap v3 - Dynamic gitlab url

Overview

Gitlab url in Parser is currently hardcoded. This should be made dynamic by using gitlab's data direclty. Information about source URL should be in the event payload.

https://github.com/Khaazz/Git-Discord-HookRouter/blob/master/src/services/Parser.js#L99 https://github.com/Khaazz/Git-Discord-HookRouter/blob/master/src/services/Parser.js#L140 https://github.com/Khaazz/Git-Discord-HookRouter/blob/master/src/services/Parser.js#L171 etc...