Skip to content

Commit

Permalink
Allow HTTP mirrors wih odd configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zauguin committed Feb 23, 2025
1 parent 2979de7 commit 6ee9551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ async function installTexLive(
): Promise<void> {
const tlmgr = tlPlatform === 'windows' ? 'tlmgr.bat' : 'tlmgr'
if (initialInstall) {
const http = new HttpClient()
const http = new HttpClient('install-texlive GitHub Action', [], {
allowRedirectDowngrade: true
})
const response = await http.get(
(repository ?? 'https://mirrors.ctan.org/systems/texlive/tlnet') +
(tlPlatform === 'windows'
Expand Down

0 comments on commit 6ee9551

Please sign in to comment.