Update
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import {Controller, Get, Post} from '@nestjs/common';
|
||||
import {AppService} from './app.service';
|
||||
import {XCookieAccountDto} from "./x-poster/dto/x-cookie-account.dto";
|
||||
import {XBrowserService} from "./x-poster/x-browser.service";
|
||||
import {XPosterRouterService} from "./x-poster/x-poster.router.service";
|
||||
|
||||
@Controller()
|
||||
export class AppController {
|
||||
constructor(
|
||||
private readonly appService: AppService,
|
||||
private readonly xBrowserService: XBrowserService,
|
||||
private readonly xPosterRouterService: XPosterRouterService,
|
||||
) {
|
||||
}
|
||||
|
||||
@Get()
|
||||
getHello() {
|
||||
return this.xBrowserService.verifyCookie();
|
||||
return this.xPosterRouterService.verifyCookie();
|
||||
}
|
||||
|
||||
@Post('/set-x-cookies')
|
||||
|
||||
Reference in New Issue
Block a user