-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
web-server/insta sets wrong current-directory #99
Comments
This is documented in the servlet-current-directory keyword of
serve/servlet
And the insta documentation ends with
“ If you want more control over specific parameters, keep reading about
web-server/servlet-env
<https://docs.racket-lang.org/web-server/run.html?q=Servlet#%28mod-path._web-server%2Fservlet-env%29>
.”
On Tue, Dec 22, 2020 at 9:46 AM Sam Tobin-Hochstadt < ***@***.***> wrote:
The value of (current-directory) upon entry to start is the htdocs
directory inside the web-server collection, not the directory that Racket
started in (as for other Racket programs) or the directory containing the
program.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#99>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYZ6XWCQRUMKOZLCNJWXDSWCWKZANCNFSM4VFXHGKA>
.
--
…--
Jay McCarthy
Associate Professor @ CS @ UMass Lowell
http://jeapostrophe.github.io
Vincit qui se vincit.
|
Unfortunately this works out poorly for the Continue tutorial, which uses I see a few options:
|
I feel like it is plausible that |
Change it to |
The value of
(current-directory)
upon entry tostart
is the htdocs directory inside the web-server collection, not the directory that Racket started in (as for other Racket programs) or the directory containing the program.The text was updated successfully, but these errors were encountered: