mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
touch up URL plugins table
This commit is contained in:
@@ -1069,6 +1069,18 @@ export class MockApiService extends ApiService {
|
||||
params: T.GetActionInputParams,
|
||||
): Promise<GetActionInputRes> {
|
||||
await pauseFor(2000)
|
||||
|
||||
if (
|
||||
params.packageId === 'tor' &&
|
||||
params.actionId === 'create-onion-service'
|
||||
) {
|
||||
return {
|
||||
eventId: 'ANZXNWIFRTTBZ6T52KQPZILIQQODDHXQ',
|
||||
value: null,
|
||||
spec: await Mock.getCreateOnionServiceSpec(),
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
eventId: 'ANZXNWIFRTTBZ6T52KQPZILIQQODDHXQ',
|
||||
value: Mock.MockConfig,
|
||||
|
||||
Reference in New Issue
Block a user