commit
0f105b5ab4
|
@ -18,7 +18,7 @@ module RedmineApp
|
|||
# -- all .rb files in that directory are automatically loaded.
|
||||
|
||||
#verifier if email is real
|
||||
|
||||
|
||||
|
||||
config.generators do |g|
|
||||
g.test_framework :rspec,
|
||||
|
@ -80,7 +80,7 @@ module RedmineApp
|
|||
allow do
|
||||
origins '*'
|
||||
# location of your API
|
||||
resource '/api/*', :headers => :any, :methods => [:get, :post, :options, :put]
|
||||
resource '*', :headers => :any, :methods => [:get, :post, :options, :put]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue