diff --git a/rdgenerator/views.py b/rdgenerator/views.py index 8dacd74..e72f5c9 100644 --- a/rdgenerator/views.py +++ b/rdgenerator/views.py @@ -245,6 +245,8 @@ def generator_view(request): url = 'https://api.github.com/repos/'+_settings.GHUSER+'/'+_settings.REPONAME+'/actions/workflows/generator-macos.yml/dispatches' else: url = 'https://api.github.com/repos/'+_settings.GHUSER+'/'+_settings.REPONAME+'/actions/workflows/generator-windows.yml/dispatches' + if selfhosted: + url = 'https://api.github.com/repos/'+_settings.GHUSER+'/'+_settings.REPONAME+'/actions/workflows/sh-generator-windows.yml/dispatches' #url = 'https://api.github.com/repos/'+_settings.GHUSER+'/rustdesk/actions/workflows/test.yml/dispatches' inputs_raw = {