9 lines
187 B
JavaScript
9 lines
187 B
JavaScript
import process from 'node:process';
|
|
|
|
const theComfyUrl = (process.env.COMFYUI_URL || 'http://localhost:8188')
|
|
.replace(/\/+$/,'');
|
|
|
|
export default function() {
|
|
return theComfyUrl;
|
|
}
|