mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
Trim the doc text this PR adds (README, CHANGELOG, CURRENT-STATE, KNOWN-ISSUES, SECURITY, DATA_SOURCES, .env.example, the CI job comment), drop code comments that restate the code, cut design-note JSDoc to a line or two, and drop review tags from test names. Comments only; no code changes. Also: README key count (seven keys, two metered), CURRENT-STATE's gate paragraph (CI runs a production build with a dummy token), the stacked doc above meshBoxInRange and the orphaned inMeshRange line in coverage.js, and a duplicate ALPR row in DATA_SOURCES that a merge had brought back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 lines
494 B
JavaScript
20 lines
494 B
JavaScript
import { installMapillaryRoutes } from './mapillary/routes.js';
|
|
|
|
/**
|
|
* Vite plugin: cached Mapillary coverage tiles (token added server-side) and a
|
|
* status route that says whether a token is configured.
|
|
*/
|
|
function mapillaryProxy() {
|
|
return {
|
|
name: 'mapillary-proxy',
|
|
configureServer(server) {
|
|
installMapillaryRoutes(server.middlewares);
|
|
},
|
|
configurePreviewServer(server) {
|
|
installMapillaryRoutes(server.middlewares);
|
|
},
|
|
};
|
|
}
|
|
|
|
export { mapillaryProxy };
|