Implements the API routes (jobs, progress events, snapshots, search, entities, source delivery with release) to net/http and serves the static frontend from the same binary on the same origin.
5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
window.CODENAVIGATOR_CONFIG = {
|
|
// Empty means same origin: the Go server serves both the frontend and the API.
|
|
backendUrl: '',
|
|
};
|