react-version #1
@@ -28,7 +28,7 @@ public class SearchController : Controller {
|
|||||||
[EnableCors("_myAllowSpecificOrigins")]
|
[EnableCors("_myAllowSpecificOrigins")]
|
||||||
[HttpPost(Name = "Search")]
|
[HttpPost(Name = "Search")]
|
||||||
public IEnumerable<Product> Post(string query, bool? preview, bool? deep) {
|
public IEnumerable<Product> Post(string query, bool? preview, bool? deep) {
|
||||||
const int PREVIEW = 3;
|
const int PREVIEW = 4;
|
||||||
List<Product> products = new();
|
List<Product> products = new();
|
||||||
|
|
||||||
query = query.Trim();
|
query = query.Trim();
|
||||||
|
Reference in New Issue
Block a user