Allow API calls to be made without `.php` in the path
Maintainer thường phản hồi trong vòng 7 ngày
@aaronminnick đang làm issue này rồi.
Từ ngày 28/1/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
For backwards compatibility while transitioning the backend from PHP to Node, we intentionally maintained .php in API paths even though they were no longer PHP files, e.g. https://localhost:4443/api/events.php?startdate=2019-06-01&enddate=2019-06-15
(See implementation in https://github.com/shift-org/shift-docs/blob/main/app/app.js#L52)
We should drop .php from the canonical URLs, e.g. https://localhost:4443/api/events?startdate=2019-06-01&enddate=2019-06-15
For backwards compatibility we should proxy/redirect the .php paths to the new canonical path, but encourage clients to update their API calls to the new path.
- Ngôn ngữ chính
- JavaScript
- Star
- 30
- Fork
- 26
- Merge trung bình
- 6 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của shift-org/shift-docs
-
Unknown --db values report a TypeError instead of the intended errorCó thể đã có người làm @gangster đã nhận 71 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
shift-org/shift-docs#1091 ·
Maintainer thường phản hồi trong vòng 7 ngày
-
validateRideLength accepts any Object.prototype key as a ride lengthCó thể đã có người làm @gangster đã nhận 71 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
shift-org/shift-docs#1089 ·
Maintainer thường phản hồi trong vòng 7 ngày
-
Favorites page fetches every favorite because getDaily's guard is invertedCó thể đã có người làm @gangster đã nhận 71 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
shift-org/shift-docs#1087 ·
Maintainer thường phản hồi trong vòng 7 ngày
-
Add an endpoint for Biiikes to check whether an email address organizes an eventCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
shift-org/shift-docs#1106 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
sitemap.xml emits relative <loc> values, so search engines reject itCó thể đã có người làm @dduugg đã nhận 97 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
shift-org/shift-docs#1082 ·
Maintainer thường phản hồi trong vòng 7 ngày
Tất cả issue của shift-org/shift-docs
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
andromarces/agent-loops#886 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:low model:light plan planner:gpt-6-1-sol tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
B: visual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
FreeTubeApp/FreeTube#9929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug: `--clear-screen` not very useful (at least not for dealing with large test/error output)Đang mởstatus: in triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
mochajs/mocha#6428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fixed-position outer <svg> lands outside a clip after scroll; fixed HTML boxes are re-anchoredĐang mở🔧 in development
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100