Skip to content

Instantly share code, notes, and snippets.

using Microsoft.AspNetCore.Http;
using PregnancyStudy.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Study.Web.Services
const stripJsonComments = require('strip-json-comments');
const fs = require('fs');
const merge = require('webpack-merge');
const path = require('path');
const siteLessPlugins = require('../Theme/plugins/site');
const getCurrentTheme = () => {
const AppSettings = JSON.parse(stripJsonComments(fs.readFileSync('./appsettings.Development.json').toString()));
if (AppSettings && AppSettings.ThemeConfig && AppSettings.ThemeConfig.ThemeName) {