Rename lib/proxy.ts to lib/backendProxy.ts #232
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui#232
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Next.js 16 deprecated the filename
middleware.tsin favor ofproxy.ts(introduced in #231) for the name of a middleware because the former was deemed confusing. The new name is fixed by the framework.It so happens that we previously introduced the file
lib/proxy.tsthat contains the backend proxy logic of the webapp. Although keeping both files with the same name does not break functionality since they are in well-separated places, it would be clearer if they had different names.AC:
lib/proxy.tstolib/backendProxy.tsand related imports.This is done in a commit in #231.