Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Merten
purescript-gargantext
Commits
72c59b5a
Commit
72c59b5a
authored
May 16, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RENAME] function
parent
7e937f5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Ajax.purs
src/Gargantext/Components/Search/Ajax.purs
+2
-2
Config.purs
src/Gargantext/Config.purs
+4
-0
No files found.
src/Gargantext/Components/Search/Ajax.purs
View file @
72c59b5a
...
...
@@ -8,11 +8,11 @@ import DOM.Simple.Console
import Gargantext.Types (toQuery)
import Gargantext.Components.Search.Types (SearchQuery)
import Gargantext.Config.REST (post)
import Gargantext.Config (
justgivemeafuckingurlp
lease, End(Back))
import Gargantext.Config (
urlP
lease, End(Back))
import URI.Query as Q
searchUrl :: SearchQuery -> String
searchUrl q =
justgivemeafuckingurlp
lease Back $ "search" <> Q.print (toQuery q)
searchUrl q =
urlP
lease Back $ "search" <> Q.print (toQuery q)
search :: forall a. DecodeJson a => SearchQuery -> Aff a
search q = do
...
...
src/Gargantext/Config.purs
View file @
72c59b5a
...
...
@@ -22,6 +22,10 @@ import Gargantext.Router as R
import Gargantext.Types
urlPlease :: End -> String -> String
urlPlease end path = theEnd.baseUrl <> theEnd.prePath <> path
where theEnd = endOf end endConfig
endConfig :: EndConfig
endConfig = endConfig' V10
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment