* This is a generic handler that is included in pages that support custom actions. * The first argument in the array informs the function which page is calling. * Based on the first argument (args[0]), you can then call your own functions * that you have added to this file.
(...args)
| 40 | * that you have added to this file. |
| 41 | */ |
| 42 | function custom_code_handler(...args) { |
| 43 | if (args[0] === "/ip") { |
| 44 | // Place your custom IP page function here. |
| 45 | } else if (args[0] === "/domain") { |
| 46 | // Place your custom Domain page function here. |
| 47 | } else if (args[0] === "zone_ui_data_requests") { |
| 48 | // Place your custom Zone page data function here. |
| 49 | } else if (args[0] === "zone_ui_table_header") { |
| 50 | // Place your custom Zone page UI table header function here. |
| 51 | } else if (args[0] === "zone_ui_table_row") { |
| 52 | // Place your custom Zone page UI table row function here. |
| 53 | } else if (args[0] === "port_aws_check") { |
| 54 | // Place your Port page custom AWS check code here |
| 55 | } |
| 56 | } |
no outgoing calls
no test coverage detected