mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-19 23:30:51 +01:00
refactored extension_protocol_handler. removed all injections in index.html
This commit is contained in:
14
src/config/constants.ts
Normal file
14
src/config/constants.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Application-wide constants
|
||||
*/
|
||||
|
||||
/**
|
||||
* The custom protocol name used for extensions
|
||||
* Must match EXTENSION_PROTOCOL_NAME in Rust (src-tauri/src/extension/core/protocol.rs)
|
||||
*/
|
||||
export const EXTENSION_PROTOCOL_NAME = 'haex-extension'
|
||||
|
||||
/**
|
||||
* Build the full protocol prefix (e.g., "haex-extension://")
|
||||
*/
|
||||
export const EXTENSION_PROTOCOL_PREFIX = `${EXTENSION_PROTOCOL_NAME}://`
|
||||
Reference in New Issue
Block a user