mirror of
https://github.com/harness/drone.git
synced 2025-05-16 00:50:00 +08:00
11 lines
423 B
TypeScript
11 lines
423 B
TypeScript
import React from 'react'
|
|
import ReactDOM from 'react-dom'
|
|
import App from './App'
|
|
|
|
// This flag is used in services/config.ts to customize API path when app is run
|
|
// in multiple modes (standalone vs. embedded).
|
|
// Also being used in when generating proper URLs inside the app.
|
|
window.APP_RUN_IN_STANDALONE_MODE = true
|
|
|
|
ReactDOM.render(<App standalone hooks={{}} components={{}} />, document.getElementById('react-root'))
|