PageSourceSearch

https://kagoafrica.com/client/assets/js/constants.js?version=3.0.9.1

js kagoafrica.com collected 2026-09-24 14:15:30 UTC 1,778 bytes, 50 lines download raw bytes

1const baseUrl = window.location.origin;
2const clientUrl = baseUrl + "/client";
3const apiBaseUrl = baseUrl + "/api/";
4const clientBaseUrl = apiBaseUrl + "client/";
5const clientJsonUrl = clientBaseUrl;
6const clientFormDataUrl = clientBaseUrl + "client.php";
7const clientPdfExportUrl = clientBaseUrl + "client_pdf.php";
8const clientFileUploadsPath = apiBaseUrl + "client/assets/uploads/";
9const transporterFileUploadsPath = apiBaseUrl + "transporter/uploads";
10const env = (baseUrl.startsWith("demo") || !baseUrl.includes("kago")) ? "DEMO" : "PROD";
11const notificationChannelSuffix = (env == "DEMO" ? "_demo_notifications" : "_notifications");
12const appNotificationsChannel = env == "DEMO" ? "private:Kago-Broadcast-Notifications-Channel-Demo" : "private:Kago-Broadcast-Notifications-Channel";
13const colors = {
14    danger: "#c1121f",
15    success: "#28a745",
16    warning: "#ffc107"
17}
18const toastifyConfig = {
19    colors: {
20        danger: "#c1121f",
21        success: "#28a745"
22    },
23    duration: {
24        fast: 1500,
25        slow: 3000
26    }
27}
28const appTypes = {
29    GET_APPLICATIONS: "getApplication",
30    GET_CARGO: "getCargo",
31    GET_LOCATION: "getLocation",
32    GET_CARGO_MASTER: "getCargoMaster",
33    LOGIN: "login",
34    LOGOUT: "logout",
35    GET_INVOICES: "getInvoices",
36    GET_DELIVERY_NOTES: "getDelivery",
37    TOGGLE_CURRENCY: "toggleCurrency",
38    CHECK_CONTAINER_NUMBER: "checkContainerNo",
39    GET_USERS: "getUsers",
40    FORGOT_PASSWORD: "forgotPassword",
41    VALIDATE_RESET_TOKEN: "tokenValidity",
42    RESET_PASSWORD: "passwordReset",
43    GET_PROFILE: "getProfile",
44    UPLOAD_ALLOCATED_CARGO_ATTACHMENTS: "uploadAllocatedCargoAttachments",
45    GREENLIGHT_CARGO: "greenlightCargo"
46}
47const notificationEvents = {
48    ADD_CARGO: "addCargo",
49    ADD_USER: "addUser"
50}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.