Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utiliser $PDF_DEMO_LINK=True ne fonctionne pas. #56

Closed
chabotsi opened this issue Apr 21, 2023 · 1 comment
Closed

Utiliser $PDF_DEMO_LINK=True ne fonctionne pas. #56

chabotsi opened this issue Apr 21, 2023 · 1 comment

Comments

@chabotsi
Copy link

Le README et le Dockerfile indiquent que la valeur par défaut de PDF_DEMO_LINK est True. Or, cela ne fonctionne pas.

En lisant le code, notamment ce commit on s’aperçoit qu’une URL est attendue.

@wincelau
Copy link
Member

wincelau commented May 2, 2023

J'ai tenté avec null ou string, mais je n'ai pas réussi à faire la différence avec fatfree entre ces 2 situations : la variable a volontairement été définit à null et la variable n'a pas du tout était définit (lorsque le fichier config.ini n'a pas été créé ou que l'option est commenté).

Et pour l'url par défaut en option, j'y ai pensé aussi mais je ne suis pas trop fan à l'idée de changer le comportement des instances qui sont déjà en place notamment celles qui auraient fait le choix de ne pas avoir de fichier de conf par défaut ou qui ne passe pas par docker.

Par contre j'ai corrigé le bug :-) : 4646ad3

@wincelau wincelau closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants