storj/satellite
Ivan Fraixedes e39f395cf1 satellite/admin/back-office: Use PathPrefix value
PathPrefix is the full path of the subrouter passed to the back office
server when it hooks into another server, in this case, the satellite
admin server.

PathPrefix allows to serve the static assets from the root of the
sub-router when the prefix is stripped before accessing them.

There was a bug where the PathPrefix weren't used and a hard-coded path
was used.

Test passed because the back-office server is hooked into the satellite
admin server with a subrouter with path `/back-office/` which matched
the hard-code value, however, it wouldn't work if that path changed or
it is hooked into another server with a different subrouter path,
despite it was set to PathPrefix.

This commit fixes that bug.

Change-Id: Id4a0d86329eb563b008b3fc6f8eb7b51cbfd2e6f
2023-11-14 16:05:04 +00:00
..
abtesting console/abTesting: add support for AB testing 2022-10-27 10:57:12 +00:00
accounting satellite/{console, web}: detailed usage report for a single project 2023-11-03 14:58:18 +02:00
admin satellite/admin/back-office: Use PathPrefix value 2023-11-14 16:05:04 +00:00
analytics satellite/{payment,console,analytics} extend freeze functionality for legal freeze 2023-11-14 11:09:25 +00:00
attribution satellite/{db, admin}: added endpoints to update user's and project's user_agent 2023-06-16 19:41:05 +00:00
audit all: don't depend on infectious library directly 2023-10-31 16:00:47 +02:00
buckets satellite/{buckets,satellitedb}: add versioning to buckets.DB 2023-10-24 11:16:31 -07:00
compensation payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
console satellite/{payment,console,analytics} extend freeze functionality for legal freeze 2023-11-14 11:09:25 +00:00
contact satellite/contact: send evenkit entry only with existing fields 2023-10-25 16:16:20 +00:00
durability satellite/durability: make benchmark even quicker 2023-11-08 19:00:30 +00:00
gc satellite/metainfo: remove ServerSideCopyDuplicateMetadata 2023-08-08 12:15:10 +00:00
geoip satellite/geoip: exclude nodes with represented_contry from geofencing 2023-08-14 12:36:33 +00:00
gracefulexit satellite/gracefulexit: add test for GE through upgrade 2023-11-09 08:58:16 +00:00
internalpb satellite/metainfo: wire versioning with commit object operation 2023-11-09 11:21:58 +00:00
mailservice satellite/consoleweb: fix flaky TestAuth tests 2022-08-04 19:06:07 +00:00
metabase satellite/metainfo: add TestEnableBucketVersioning flag 2023-11-10 19:19:30 +00:00
metainfo satellite/metainfo: add TestEnableBucketVersioning flag 2023-11-10 19:19:30 +00:00
metrics satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeevents satellite/satellitedb/dbx: document node tables 2023-02-24 14:05:55 +00:00
nodeselection satellite/nodeselection: support OR in placement definition 2023-10-19 15:21:15 +00:00
nodestats payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
oidc satellite/console: prefix oidc paths with /api/v0/ 2023-09-11 18:12:39 +00:00
orders satellite/repair: unify repair logic 2023-09-25 09:42:08 -05:00
overlay satellite/placement: Add test for new "datacenter" placement tag 2023-10-27 18:15:32 +00:00
payments satellite/{payment,console,analytics} extend freeze functionality for legal freeze 2023-11-14 11:09:25 +00:00
repair satellite/repair: extra logging during TestSegmentRepairPlacement 2023-11-01 20:43:18 +00:00
reputation satellite/audit: remove pieces when audits fail 2023-06-22 14:19:00 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
satellitedb satellite/{payment,console,analytics} extend freeze functionality for legal freeze 2023-11-14 11:09:25 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/{accountfreeze,console}: use days till escalation values 2023-10-23 20:34:07 +00:00
api_test.go satellite/api: configuration option to set additional node tag authorities 2023-08-03 08:34:02 +00:00
api.go satellite/{accountfreeze,console}: use days till escalation values 2023-10-23 20:34:07 +00:00
auditor.go satellite/overlay: fix placement selection config parsing 2023-09-21 14:31:41 +00:00
configlock_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
core.go satellite/{accountfreeze,console}: use days till escalation values 2023-10-23 20:34:07 +00:00
gc-bf_test.go satellite/gcbf: fix data race in TestGCBFUseRangedLoop 2023-11-01 19:07:20 +02:00
gc-bf.go satellite/gcbf: fix data race in TestGCBFUseRangedLoop 2023-11-01 19:07:20 +02:00
gc.go gc: remove segment loop dependency 2023-02-03 10:31:16 +00:00
peer.go satellite: do not validate smtp from / host when emails are disabled 2023-10-24 10:59:49 +00:00
rangedloop.go satellite/durability: make benchmark even quicker 2023-11-08 19:00:30 +00:00
repairer.go satellite/overlay: fix placement selection config parsing 2023-09-21 14:31:41 +00:00
ui.go satellite/console: optional separate web app server 2023-07-11 12:17:35 -04:00